Jump to content

Archived

This topic is now archived and is closed to further replies.

corillo181

[SOLVED] working with pictures

Recommended Posts

hi, i been trying to find a way to create dynamic pictures for this reason..

i want to make a page and when ppl click on different picture i want the pictures to appear in the same page.. becuase i dont want to make a page for each pictures since i heard this could be done using php but i'm new to this and i would like any one to show me how or point me to a tutorial easy to fallow..

thnk you..

Share this post


Link to post
Share on other sites
Although its not php and the demo uses multiple pictures, it seems that with a little tweaking one could apply this to separate images...

[a href=\"http://www.agilepartners.com/blog/2005/12/07/iphoto-image-resizing-using-javascript/\" target=\"_blank\"]http://www.agilepartners.com/blog/2005/12/...ing-javascript/[/a]

Lite...

Share this post


Link to post
Share on other sites
I have done this many times.

The basic flow is:[list][*]If the URL doesn't say to display one picture, display a page of thumbnails. Each thumbnail is a <href> tag that points back to the curren script but the URL contains a reference to show the picture.[*]Else display the full size picture and a link to go back to the thumbnails[/list]Some pages where I've used this technique are:[list][*] [a href=\"http://www.ny-njdogtrainer.com/gallery.php\" target=\"_blank\"]http://www.ny-njdogtrainer.com/gallery.php[/a][*] [a href=\"http://www.rutgerspromenaders.org/pictures...ances/2005/1204\" target=\"_blank\"]http://www.rutgerspromenaders.org/pictures...ances/2005/1204[/a][*] [a href=\"http://smilesontheweb.com/disp_pics.php?wh...=.&dir=20010626\" target=\"_blank\"]http://smilesontheweb.com/disp_pics.php?wh...=.&dir=20010626[/a][/list]Ken

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.