Gallery - image protocol [http/s]
Posted: Tue Aug 04, 2020 2:24 pm
Hi,
I have installed the gallery module http://dev.cmsmadesimple.org/projects/gallery
In the smarty tag {$image->file} I am getting the full image path, including protocol and domain. Which works fine in http but in https triggers insecure content warnings.
How can I remove at least the protocol, or just change to root relative paths?
eg:
from: http://domain.com/path/to/img/img.jpg
to: //domain.com/path/to/img/img.jpg
or, ideally: /path/to/img/img.jpg
thank you for any help.
I have installed the gallery module http://dev.cmsmadesimple.org/projects/gallery
In the smarty tag {$image->file} I am getting the full image path, including protocol and domain. Which works fine in http but in https triggers insecure content warnings.
How can I remove at least the protocol, or just change to root relative paths?
eg:
from: http://domain.com/path/to/img/img.jpg
to: //domain.com/path/to/img/img.jpg
or, ideally: /path/to/img/img.jpg
thank you for any help.