Results 1 to 9 of 9
  1. #1
    Junior Member
    Join Date
    Dec 2008
    Gender
    Male
    Posts
    235

    Default [how to] image link like this (html)


    hi istoryans

    need help
    naa ko gubuhat na webpage project namu..

    naay section na image gallery

    gusto unta nko na kanang parehas sa facebook ang pag view sa mga image

    naay next, precvious, unya isa ra ka image ang ma view . i next 2x lng .



    hehe nagpractice pa ko html


    thanks

  2. #2

    Default Re: [how to] image link like this (html)

    Use php to switch between links from images.
    Use javascript and css for aesthetics.

  3. #3
    Junior Member
    Join Date
    Dec 2008
    Gender
    Male
    Posts
    235

    Default Re: [how to] image link like this (html)

    i got it na.

    . thanks ..

    mao ni akong na search

    <html>
    <head>
    <title>sample</title>
    <meta name='DESCRIPTION' CONTENT='Welcome to my photo gallery.'>
    <meta name='KEYWORDS' CONTENT='photo, gallery, album, collection'>
    <meta name='TITLE' CONTENT='MY PHOTO GALLERY'>
    <link rel=stylesheet type='text/css' href='style1.css'>
    </head>
    <body>
    <table cellpadding=8 cellspacing=8 border=0 align=center width=70%>
    <tr valign=top align=center>
    <td class=extra colspan=4>
    Student Photo Gallery</td>

    </tr>
    <tr valign=top align=center>
    <td><a href='images/pic.jpg' target='_new' title='Click to enlarge'>
    <img src='pic.jpg' width=100 height=75 border=0></a>
    <td><a href='images/pic.jpg' target='_new' title='Click to enlarge'>
    <img src='pic.jpg' width=100 height=75 border=0></a>
    <td><a href='images/pic.jpg' target='_new' title='Click to enlarge'>
    <img src='pic.jpg' width=100 height=75 border=0></a>
    <td><a href='images/pic.jpg' target='_new' title='Click to enlarge'>
    <img src='pic.jpg' width=100 height=75 border=0></a>
    </tr>

    <tr valign=top align=center>
    <td><a href='images/pic.jpg' target='_new' title='Click to enlarge'>
    <img src='pic.jpg' width=100 height=75 border=0></a>
    <td><a href='images/pic.jpg' target='_new' title='Click to enlarge'>
    <img src='pic.jpg' width=100 height=75 border=0></a>
    <td><a href='images/pic.jpg' target='_new' title='Click to enlarge'>
    <img src='pic.jpg' width=100 height=75 border=0></a>
    <td><a href='images/pic.jpg' target='_new' title='Click to enlarge'>
    <img src='pic.jpg' width=100 height=75 border=0></a>
    </tr>

    <tr valign=top align=center>
    <td><a href='images/pic.jpg' target='_new' title='Click to enlarge'>
    <img src='pic.jpg' width=100 height=75 border=0></a>
    <td><a href='images/pic.jpg' target='_new' title='Click to enlarge'>
    <img src='pic.jpg' width=100 height=75 border=0></a>
    <td><a href='images/pic.jpg' target='_new' title='Click to enlarge'>
    <img src='pic.jpg' width=100 height=75 border=0></a>
    <td><a href='images/pic.jpg' target='_new' title='Click to enlarge'>
    <img src='pic.jpg' width=100 height=75 border=0></a>
    </tr>

    <tr valign=top align=center>
    <td><a href='images/pic.jpg' target='_new' title='Click to enlarge'>
    <img src='pic.jpg' width=100 height=75 border=0></a>
    <td><a href='images/pic.jpg' target='_new' title='Click to enlarge'>
    <img src='pic.jpg' width=100 height=75 border=0></a>
    <td><a href='images/pic.jpg' target='_new' title='Click to enlarge'>
    <img src='pic.jpg' width=100 height=75 border=0></a>
    <td><a href='images/pic.jpg' target='_new' title='Click to enlarge'>
    <img src='pic.jpg' width=100 height=75 border=0></a>
    </tr>

    <tr valign=top align=center>
    <td class=extra colspan=4>
    <a href='#' title='Previous Page'><< Back</a> |
    <a href='#' title='Next Page'>Next >></a></td>
    <tr>
    </table>
    </body>
    </html>

  4. #4

    Default Re: [how to] image link like this (html)

    I don't see how that would work like the way you wanted it to.

  5. #5
    Junior Member
    Join Date
    Dec 2008
    Gender
    Male
    Posts
    235

    Default Re: [how to] image link like this (html)

    hehe no choice kani nlng .

    nice man sab ang result

  6. #6

    Default Re: [how to] image link like this (html)

    Yeah but, nakuha nmu ang imo previous ug next functionality ani?

    You know, if you need help in web design or developing. I'd be happy to lend a hand.

    What you're trying to do here is quite easy and can ideally be done in minutes. Plus, it'll help your learning experience.

    Let me know.

  7. #7

    Default Re: [how to] image link like this (html)

    Mas maayo pud butangan nimo un proper Titles and Meta description para ma crawl sa Search Engines dayon.

  8. #8
    Elite Member noy.juan's Avatar
    Join Date
    Mar 2010
    Gender
    Male
    Posts
    1,521
    Blog Entries
    1

    Default Re: [how to] image link like this (html)

    table.... what are those? just kidding... try not to use table as much as possible...

  9. #9

    Default Re: [how to] image link like this (html)

    Checklist on what you need to accomplish one at a time.

    1. Nana kay sample images and the previous and next link?
    2. Inig press nimo sa previous ug next, mu-direct xa sa prev or next image?
    3. Load the image upon click on prev and next.


    Use a database to determine the next and previous image (of course). However, order them the way you want it. Load the images and store the indeces (or whatever) into an array.. For each page, an index of an array is unique. Like page1.php (pic 1). page2.php (pic 2), etc (or use get or post para mas chuy). When successful, apply aesthetics.

  10.    Advertisement

Similar Threads

 
  1. How to get rid of this pesky virus?
    By burdagol in forum Software & Games (Old)
    Replies: 5
    Last Post: 12-21-2007, 09:15 PM
  2. how to create dll like shell32 in vb.net
    By kibotizer in forum Programming
    Replies: 7
    Last Post: 12-17-2007, 11:22 AM
  3. help : how to remove gum-like STOCK thermal paste
    By technician in forum Computer Hardware
    Replies: 5
    Last Post: 11-18-2006, 06:26 PM
  4. Replies: 6
    Last Post: 06-21-2006, 10:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top