Show all images in a directory

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
User avatar
aml02873
 
 
Posts: 100
Joined: Mon Dec 23, 2013 5:15 pm
Location: Netherlands

Show all images in a directory

Post by aml02873 »

Is there a possibility to show all photos in a certain directory?

I want to give someone the opportunity to upload photos that are then all shown on the website
User avatar
Pablo
 
Posts: 22472
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Show all images in a directory

Post by Pablo »

The built-in photo gallery (and slideshow) can display images from a folder on the server.
Properties -> Source -> Get images from a folder on the server
Rick47
 
 
Posts: 9
Joined: Wed Jan 31, 2018 4:50 pm

Re: Show all images in a directory

Post by Rick47 »

What is the convention when naming a server directory when using Photo Gallery.
I have tried ‘..\MyPhotos’ and ‘\public_html\MyPhotos’ , ‘/public_html/MyPhotos’ but I get a blank object.
What am I missing?
User avatar
Pablo
 
Posts: 22472
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Show all images in a directory

Post by Pablo »

The path should be relative to the current folder.
So, if the 'MyPhotos' is in the current folder then it should be:
./MyPhotos

Note that filenames and folders are case sensitive.
Rick47
 
 
Posts: 9
Joined: Wed Jan 31, 2018 4:50 pm

Re: Show all images in a directory

Post by Rick47 »

Clearly I’m doing something wrong as I’m getting nothing:
My website is in ‘/public_html/showphotos’
My images are in ‘/public_html/MyPhotos’
(slashes orientation just copied from FileZilla)
Using your example I assume target directory would be ‘..\MyPhotos’
(although I have also tried ‘.\MyPhotos’ and ../MyPhotos’)

OK sorted - page should be .php. Duhh!
Post Reply