php gallery help please

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
rubber-chicken
Forum Newbie
Posts: 2
Joined: Tue Nov 04, 2008 3:35 pm

php gallery help please

Post by rubber-chicken »

http://www.rubber-chicken.co.uk/autogeneratinggallery

ive been messing with this script i found online, but im stuck adding my own changes. hope you guys can help


i want it to automatically create thumbnails so i only have to add the large file

i need them to appear in date modified order, latest first

i want it to use lightbox.v2 to show the full size images, and is there a way to add information about the pics so lightbox presents it.

and finally how do i sort it so only shows say 10 images per page and it adds page number links

wow thats alot :oops:

i dont want to use database in any of the changes

my files are here http://www.rubber-chicken.co.uk/autogen ... allery.zip

please any help would be great
User avatar
Jade
Forum Regular
Posts: 908
Joined: Sun Dec 29, 2002 5:40 pm
Location: VA

Re: php gallery help please

Post by Jade »

I suggest you start with these links. I'm glad to help, but I'm not just going to hand you an answer. Teach a man to fish, right?

Thumbnails: http://us2.php.net/imagecopyresized (this will also reduce their file size so they don't take forever to load)

Lightbox: http://www.huddletogether.com/projects/lightbox2/#how (use php to display your image information after the image src)

Limit & date modified: mysql_query("SELECT * from PHOTOS order by date_modified DESC LIMIT 10") also see http://dev.mysql.com/doc/refman/5.0/en/ ... -rows.html
rubber-chicken
Forum Newbie
Posts: 2
Joined: Tue Nov 04, 2008 3:35 pm

Re: php gallery help please

Post by rubber-chicken »

could you not hand me a little :) im really stuck, never really used php before
Post Reply