Sign in

Mac image gallery double slashes in path

  • This topic has 7 replies, 4 voices, and was last updated 1 week, 5 days ago by .
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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.

    #3930
    Bob
    Support

    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
    mimobase

    osx 10.14.6

    #4031
    Tomasz Dziuda
    Moderator

    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.

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

    #4167
    marc_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:

    with-double-slash

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

    no-double-slash

    Attachments:
    #4172
    mimobase

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

    #4181
    Tomasz 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!

    #4182
    marc_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.

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