Sign in
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Mac image gallery double slashes in path

  • This topic has 7 replies, 4 voices, and was last updated 3 years, 4 months ago by .
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #3929
    Avatar photo[anonymous]

    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.

    #3930
    Avatar photoBob

    What 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!

    #3943
    Avatar photo[anonymous]

    osx 10.14.6

    #4031
    Avatar photo[anonymous]

    Hi,

    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.

    #4167
    Avatar photo[anonymous]

    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:

    with-double-slash

    If is a direct link to a file, there’s no double slash:

    no-double-slash

    #4172
    Avatar photo[anonymous]

    @Tomasz Dziuda – Sorry for the late reply – I am using Amazon S3 to host the site.

    #4181
    Avatar photo[anonymous]

    @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

    #4182
    Avatar photo[anonymous]

    @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.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.