Jump to content

[SOLVED] working with pictures


corillo181

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..
Link to comment
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...
Link to comment
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
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.