Photo gallery - source syntax?

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
alan_sh
 
 
Posts: 1851
Joined: Tue Jan 01, 2019 5:50 pm

Photo gallery - source syntax?

Post by alan_sh »

I have a photo gallery and I would like the source to be a folder on my host's server. What is the syntax I need to use to get the pictures to display?

I have some pictures in a folder on my server. I can access an individual one by typing this in a browser - https://the-photo.org/trevor/01-62230019.JPG

The folder itself (trevor) has permission of 755. But when I put in https://the-photo.org/trevor - nothing happens.

Thanks for any advice

Alan
alan_sh
 
 
Posts: 1851
Joined: Tue Jan 01, 2019 5:50 pm

Re: Photo gallery - source syntax?

Post by alan_sh »

A sample wbs file can be found here https://www.dropbox.com/scl/fi/dhg44i8a ... 4u89r&dl=0
User avatar
Pablo
 
Posts: 23312
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Photo gallery - source syntax?

Post by Pablo »

The 'Folder' should be the name of a relative folder, not an URL.

https://the-photo.org/trevor
should be
trevor


Also, the page extension (in Page Properties) must be php, otherwise the server does not execute the PHP script.
alan_sh
 
 
Posts: 1851
Joined: Tue Jan 01, 2019 5:50 pm

Re: Photo gallery - source syntax?

Post by alan_sh »

Thanks. I will try that out.

Alan
alan_sh
 
 
Posts: 1851
Joined: Tue Jan 01, 2019 5:50 pm

Re: Photo gallery - source syntax?

Post by alan_sh »

Thank you - that works perfectly.

Alan
Post Reply