Reply to Photo Album

Your name:

Reply:


Posted by eldridge.brian on 03/20/06 01:47

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация