473,396 Members | 2,021 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Photo Album

I am very new to php, but eagerly picking it up. Thanks in advance for
any assistance.

I have a site I am working on that uses "PHP frames" - url is like
http://www.xyz.com/home.php?page=photo

inside home.php are several case statements that then tell the
webserver which page to load. I have been trying to create small 7
picture photo album in file photo.php. I want to have the thumbs appear
at the top, then the main image in the middle at 640pix wide, then a
text link at the bottom for previous and next.

I have the basics working by hacking up somebody elses album, but I
can't seem to get it to work that when you click on one of the
thumbnails, it reloads the page and displays the image you clicked on.
the original was a two page solution and I really need to to stay
within the framework of the "frames" mentioned above.

I think at this point it would be easier to start from scratch. So here
is my structure if it helps. I'd like to see a one php file solution
(or two if a config.php was needed) with the following features:
thumbnail folder /thumbs - each one is prefixed with tn_ (maybe a
variable for WxH)
main picture folder /images - each one is 640px wide (another var?)
uses whatever names where in the images directory, sorts them A-Z, as
long as they end in .JPG
created thumbnails if they didn't exist using GD.
thumbnails shown in a table, so nice variable for how many columns of
thumbnails would be sweet.

Pointers, suggestions, solutions are all welcome. Thanks

Mar 19 '06 #1
1 1666
el************@gmail.com wrote:
I am very new to php, but eagerly picking it up. Thanks in advance for
any assistance. I have a site I am working on that uses "PHP frames" - url is like
http://www.xyz.com/home.php?page=photo inside home.php are several case statements that then tell the
webserver which page to load. I have been trying to create small 7
picture photo album in file photo.php. I want to have the thumbs appear
at the top, then the main image in the middle at 640pix wide, then a
text link at the bottom for previous and next. I have the basics working by hacking up somebody elses album, but I
can't seem to get it to work that when you click on one of the
thumbnails, it reloads the page and displays the image you clicked on.
the original was a two page solution and I really need to to stay
within the framework of the "frames" mentioned above. I think at this point it would be easier to start from scratch. So here
is my structure if it helps. I'd like to see a one php file solution
(or two if a config.php was needed) with the following features:
thumbnail folder /thumbs - each one is prefixed with tn_ (maybe a
variable for WxH)
main picture folder /images - each one is 640px wide (another var?)
uses whatever names where in the images directory, sorts them A-Z, as
long as they end in .JPG
created thumbnails if they didn't exist using GD.
thumbnails shown in a table, so nice variable for how many columns of
thumbnails would be sweet. Pointers, suggestions, solutions are all welcome. Thanks


in you favorite search engine - look for imagebrowser.php

Mar 20 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Nick | last post by:
I am building a photo album webpage and am not sure exactly how I should organize the database. Here's where Im at so far... I have one table called 'images' which contains the columns 'albumID',...
3
by: frizzle | last post by:
Hi there, I've posted the following question elsewhere, but got no response, and there seems to be no special htaccess-group, so i took the liberty to post it here. Hope y'all dont mind. I...
5
by: Joseph Ellis | last post by:
Hello all. I have a family website that I have been maintaining for the past year and a half or so. It includes a photo album that has grown quite large. So far I've displayed the photo album...
5
by: fraser | last post by:
Hi, I have a photo gallery with cat photos here http://mouserspage.cjb.net From the beginning, I have been making each page of thumbnails, with a separate page for each photo, entirely in...
2
by: Tony WONG | last post by:
i am not sure that this subject can be discussed here. i have many photos. they are stored according to the name of the EVENT and YEAR. i will set up a database (sql or access) to store...
3
by: Ben Cartwright | last post by:
I'd like to create an ASP.NET-based photo album. Rather than creating a bunch of HTML pages as in a typical photo album, I'd like to leverage the dynamic capabilities of ASP.NET. Any suggestions...
2
by: Linda | last post by:
Hey all, I'm not too sure if this is the right place to post my question - or if I should go to a JSP group. Anyway here is my question. I am looking at finding/ making an online dynamic...
2
by: David Griffiths | last post by:
Hi All Using VB 2005 I have been tasked with creating simple Photo Album page on our local intranet server that can display Thumbnails and then the full picture once the thumbnail is clicked...
1
by: w33d5 | last post by:
I'm looking for a little help in making an index file to read the subdirectories in the same folder and display the links in a table. i am loading photo galleries using google's picasa onto my...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.