![]() |
|
|
|
|
|
|
|
|
#1 |
|
Registered User
Join Date: Jul 2003
Posts: 80
![]() |
Image Gallery with PHP
First off I don't know too much about PHP so I hope I'm not asking for a lot here, but basically I need to know how to make an image gallery with the help of PHP. More specifically...
Currently I run the website for my dad's company (www.sia-cam.com). It is quite hideous as of now and I plan a major overhaul at some point, but first I need to create a new image gallery. As it is now, my image gallery consists of a page with links, each link going to a different page with an image on it. As you can imagine, creating and managing one page per image, when I am soon to post dozens of new images, is very very tedious and time consuming. My goal is this: I want to have a page with two frames. One frame will be narrow and run horizontally along the bottom. This will be scrollable side to side and contain thumbnails. The above frame will load the actual image when a thumbnail is clicked. This way it is easy to add or remove images, having only to edit a small amount of code, rather than creating and deleting entire pages along with accompanying links. It seems to me this should be possible with one page. I am in the process of learning PHP but schoolwork interferes, so I need to cut to the chase and learn this one thing so I can get going on the site work. Is PHP the best way to accomplish this, or am I looking for something else altogether? Step-by-step not expected if it's complicated, but a gentle nudge in the right direction would also be appreciated. Thanks. |
|
|
|
|
|
#2 |
|
Registered User
Join Date: Feb 2005
Posts: 4
![]() |
PHP would be OK for this, i suppose.
You'd have your normal HTML framesets, let's say named "bottom" and "top". The code for your "bottom" frame would go to some php which would be something like this: (let's see if the board will let me straight-post some code...) PHP Code:
I haven't tested that or anything, but you get the drift. |
|
|
|
|
|
#3 |
|
Registered User
Join Date: May 2011
Posts: 1
![]() |
Free PHP Image Gallery Scripts
Need some free PHP image gallery scripts?
You can search and free download the right PHP image gallery script on the site PHPkode.com Hopefully can help you! Kind Regards! |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|