x404.co.uk http://www.x404.co.uk/forum/ |
|
Galleria - Loading a folderful of images http://www.x404.co.uk/forum/viewtopic.php?f=4&t=15903 |
Page 1 of 1 |
Author: | forquare1 [ Mon Feb 20, 2012 7:58 pm ] |
Post subject: | Galleria - Loading a folderful of images |
Hullo all, I'm building a website in Flux, and I'm using the Galleria action (basically just adds in the basic code and CSS for galleria). Now, I have 93 items to put into one of these galleries and I don't fancy putting them in one by one. Surely there must be a way to go "oi! Just go handle this folder!" ![]() The structure of files are as follows /galleries /galleries/myFirstGallery.html /galleries/images /galleries/images/myFirstGallery /galleries/images/myFirstGallery/[lots of image files].png /galleries/images/myFirstGallery/thumb/[corresponding thumbnails]_thumb.png I don't suppose anyone could lend a hand? Cheers, Ben |
Author: | AlunD [ Tue Feb 21, 2012 7:05 am ] |
Post subject: | Re: Galleria - Loading a folderful of images |
I'm probably missing something here. Why not just ftp a load of them into the site? or if its local copy and paste. ![]() |
Author: | forquare1 [ Tue Feb 21, 2012 11:16 am ] | |||||||||
Post subject: | Re: Galleria - Loading a folderful of images | |||||||||
No. the way the gallery works is you do something like this:
Or I can use JSON notation (not that I've any idea what that is!) But rather than adding that for each of the 93 images, there must be a way through either PHP or (preferably) JavaScript to just go and get all of the images from the folders? |
Author: | JJW009 [ Tue Feb 21, 2012 12:49 pm ] |
Post subject: | Re: Galleria - Loading a folderful of images |
Found a couple of things that might be some help: very complete php script that generates a nice slideshow by browsing a folder: http://panmental.de/public/programming_ ... 0in%20PHP/ And a simpler one: http://www.javascriptkit.com/javatutors ... php2.shtml Not exactly what you asked for, but should give some clues? |
Author: | forquare1 [ Tue Feb 21, 2012 1:04 pm ] |
Post subject: | Re: Galleria - Loading a folderful of images |
Cheers JJ ![]() |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |