picture gallery

images php coding issues or problems here.

Moderators: macek, egami, gesf

New php-forum User
New php-forum User
Posts: 3
Joined: Tue Dec 17, 2002 1:23 pm

picture gallery

Postby z5 » Wed Feb 12, 2003 8:37 am


i want to do a picture gallery with thumbs (small images) and one big picture on the SAME page as the thumbs. I don't want to use popup windows to show the big picture (don't like pop ups).

Is it possible with php to have a page of thumbs and if you click on one, the big picture is loaded on the same page. Is this possible without reloading the whole page. Is it possible to reload only the big picture?

thanks for any help.

User avatar
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA

Postby Redcircle » Wed Feb 12, 2003 5:03 pm

You would have to use JavaScript. just note if you have a lot of pictures you would get poor performance if it has to pre-load all the images

New php-forum User
New php-forum User
Posts: 16
Joined: Wed Feb 12, 2003 5:27 am
Location: Cornwall, England


Postby andrewdavey » Mon Feb 17, 2003 1:49 am

This can be done using an IFRAME tag on your page to contain the full size image. The main page can have all the thumbnails which are hyperlinks that target the IFRAME.

New php-forum User
New php-forum User
Posts: 80
Joined: Fri Jan 31, 2003 4:18 pm

Postby *JaH* » Mon Feb 17, 2003 6:32 am

note: only IE supports Iframes :)

Return to “PHP coding => Images”

Who is online

Users browsing this forum: No registered users and 5 guests