Mac image gallery double slashes in path
- This topic has 7 replies, 4 voices, and was last updated 4 months, 2 weeks ago by .
- AuthorPosts
- October 1, 2020 at 10:17 pm#3929
mimobase
Hola I’m sorry if this is already a bug or mentioned, I did do a quick search but couldn’t find anything.
I’ve noticed some times when I create an image gallery and then publish the page the images don’t show up.
When I investigated the problem the gallery has generated double //’s in the code such as
/input/media/posts/27//gallery/image.jpg
I’ve just been copy and pasting that into TextEdit and find-replace all the double //s from everything to just single ones and it fixes it.
osx 10.14.6
Publii 0.37 but also noticed it in the one before that too.October 2, 2020 at 4:55 am#3930Bob
SupportWhat OS are you using?
--
Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!October 2, 2020 at 8:14 pm#3943mimobase
osx 10.14.6
October 9, 2020 at 8:43 pm#4031Tomasz Dziuda
ModeratorHi,
Which hosting are you using? I have checked some pages and double and even triple slashes does not cause any issues with loading images.
Of course we will investigate the issue to generate always proper paths, but I would like if there is a hosting where it can be a problem.
--
Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!October 16, 2020 at 10:29 pm#4167marc_io
I also noticed the “double slash bug” while creating a menu item with the “Internal link” option (on “Menus → Add menu item”) on my local machine with MacOS 10.14.6.
If I add a reference to a folder in the field, I got a double slash on the generated link:
If is a direct link to a file, there’s no double slash:
Attachments:
You must be logged in to access attached files.
October 17, 2020 at 2:35 am#4172mimobase
@Tomasz Dziuda – Sorry for the late reply – I am using Amazon S3 to host the site.
October 17, 2020 at 2:02 pm#4181Tomasz Dziuda
Moderator@mimobase – I have prepared a simple fix which will be included in v.0.37.2: https://github.com/GetPublii/Publii/issues/849
@marc_io – unfortunately I am unable to reproduce this issue--
Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!October 17, 2020 at 6:44 pm#4182marc_io
@TomaszDziuda Probably is something specific of this version of Mac OS.
But I have solved it by disabling the relative links option on my site settings.
- AuthorPosts
- You must be logged in to reply to this topic.