Can I choose where pictures are chosen in photo gallery?

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

Can I choose where pictures are chosen in photo gallery?

Post by alan_sh »

Using a photo gallery, I can select 'server' and then set a folder name so the gallery knows where to get its pictures from. My question is:

Can the folder name be a separate server elsewhere or does it have to be a folder inside my web site? If it can, what's the format string (in other words, how I make photo gallery see the picture area) I need to specify to access that separate area?

Thanks

Alan
User avatar
Pablo
 
Posts: 22995
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Can I choose where pictures are chosen in photo gallery?

Post by Pablo »

Can the folder name be a separate server elsewhere or does it have to be a folder inside my web site?
It must be on the same server, because PHP cannot 'see' the folder content of another server for security reasons.

Note that you can also use absolute links for image.
So, if you know the full path then you can use:
https://www.website.com/images/filename.jpg
alan_sh
 
 
Posts: 1777
Joined: Tue Jan 01, 2019 5:50 pm

Re: Can I choose where pictures are chosen in photo gallery?

Post by alan_sh »

Pablo,

For server based, can I just specify a folder that is outside my web site, but on the same server? If so, what would the link look like?

Alan
User avatar
Pablo
 
Posts: 22995
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Can I choose where pictures are chosen in photo gallery?

Post by Pablo »

It must be within the same domain.
Again, this is a PHP (security) restriction, so not specific to WWB
alan_sh
 
 
Posts: 1777
Joined: Tue Jan 01, 2019 5:50 pm

Re: Can I choose where pictures are chosen in photo gallery?

Post by alan_sh »

I'll give it a go. So, can I put in something like "https://website/toplevel_folder/user_folder" and have it pick up all the pictures in "user_folder" as long as "website" is the same domain as my web site?

Alan
User avatar
Pablo
 
Posts: 22995
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Can I choose where pictures are chosen in photo gallery?

Post by Pablo »

So, can I put in something like "https://website/toplevel_folder/user_folder" and have it pick up all the pictures in "user_folder" as long as "website" is the same domain as my web site?
No, it needs to be a relative folder.
Only file paths can be absolute, not folder paths
alan_sh
 
 
Posts: 1777
Joined: Tue Jan 01, 2019 5:50 pm

Re: Can I choose where pictures are chosen in photo gallery?

Post by alan_sh »

Oh, that's a shame. That scuppers my plans.

Alan
Post Reply