Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => Images

picture gallery

images php coding issues or problems here.

Moderators: macek, egami, gesf

picture gallery

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

hi!

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.
z5
New php-forum User
New php-forum User
 
Posts: 3
Joined: Tue Dec 17, 2002 1:23 pm

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
User avatar
Redcircle
Moderator
Moderator
 
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA

Use IFRAMEs

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.
andrewdavey
New php-forum User
New php-forum User
 
Posts: 16
Joined: Wed Feb 12, 2003 5:27 am
Location: Cornwall, England

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

note: only IE supports Iframes :)
*JaH*
New php-forum User
New php-forum User
 
Posts: 80
Joined: Fri Jan 31, 2003 4:18 pm


Return to PHP coding => Images

Who is online

Users browsing this forum: No registered users and 0 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.