M0n5terBunny Posted November 12, 2011 Share Posted November 12, 2011 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 Quote Link to comment https://forums.phpfreaks.com/topic/250984-php-picture-background/ Share on other sites More sharing options...
trq Posted November 12, 2011 Share Posted November 12, 2011 Anything is possible. Probably not the simplest of things to implement but hey. Have you tried breaking the problem down into achievable parts? What have you tried? Quote Link to comment https://forums.phpfreaks.com/topic/250984-php-picture-background/#findComment-1287569 Share on other sites More sharing options...
freelance84 Posted November 12, 2011 Share Posted November 12, 2011 do you want the entire background to be covered in thumbs of the images and to be scaled exactly to the clients screen? Quote Link to comment https://forums.phpfreaks.com/topic/250984-php-picture-background/#findComment-1287579 Share on other sites More sharing options...
M0n5terBunny Posted November 12, 2011 Author Share Posted November 12, 2011 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. Quote Link to comment https://forums.phpfreaks.com/topic/250984-php-picture-background/#findComment-1287588 Share on other sites More sharing options...
freelance84 Posted November 12, 2011 Share Posted November 12, 2011 how exactly did you do it? you might want to know the dims of the client screen before mapping out all the images. or have js count the number of images and set css percentages or something. Quote Link to comment https://forums.phpfreaks.com/topic/250984-php-picture-background/#findComment-1287599 Share on other sites More sharing options...
M0n5terBunny Posted November 12, 2011 Author Share Posted November 12, 2011 i asked it to adjust to the window size as in just the browser window Quote Link to comment https://forums.phpfreaks.com/topic/250984-php-picture-background/#findComment-1287601 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.