Jump to content

Php Picture Background


M0n5terBunny

Recommended Posts

Hello all, im fairly new, but i have a question that i cant answer.

 

is it possible to use the contents of a folder as a website background as in my pictures folder would be a tile of the same size images as my website background? and if i upload some more photos it automatically updates the background?

 

and it would get gradually smaller as the more pictures came into the folder like 2 pics would be side by side 4 would be one in each corner and 6 and 8 and so forth so basically it sizes them equally so that it fills the page.

 

any ideas ?

 

cheers

Link to comment
https://forums.phpfreaks.com/topic/250984-php-picture-background/
Share on other sites

If possible yeh, I've tried setting the background to a php array with folder contents but that ended up stretching images etc and yes basically thumb nails of the image and when someone hovers over it becomes bigger and when clicked it shows details of that photo.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.