[Resolved] Sections – 'Add Media' Wrong URLS?

Home Forums Support [Resolved] Sections – 'Add Media' Wrong URLS?

Home Forums Support Sections – 'Add Media' Wrong URLS?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #753665
    Chris

    Hey all,

    So since the 5.0 update something strange has been going on with my ‘Add Media’ when using Sections. All seems fine until you preview/publish and the images added throw up a 404 error. It looks like it creates the wrong URL. For example,

    All images just show up as the blue question mark icon because the url created is http://www.website.url/our-projects/wp-content/uploads/2018/12/LotteryLogo-e1543850248906.jpg

    When the actual URL image is

    src=”../wp-content/uploads/2018/12/LotteryLogo-e1543850248906.jpg”.

    So it looks like ‘our-projects’ is being added when it shouldn’t be.

    Any idea how to change this? When handing over to the charity I’m building it for, the ability to use ‘Add Media’ rather than html/css is important. It all seems to work fine on the new Gutenberg editor, only in sections.

    Any help would be appreciated, not ruling out me having messed up some setting somewhere.

    Cheers!

    #754166
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Definitely a bug – been working on it all day.

    It seems TinyMCE is using relative URLs. Will have it fixed in the next GPP version.

    For now, you can:

    a) Go into the text and add your URL instead of ../
    b) Insert your image while in the “Text” tab.

    Thanks for reporting this!

    #755460
    Chris

    Thanks Tom – great theme and great support!

    #755846
    Tom
    Lead Developer
    Lead Developer

    GP Premium 1.7.6 has been released with a fix for this.

    Note that it only affects images on upload, so you’ll need to manually add the URL to existing images that were affected.

    All new images inserted should have the full URL.

    Let me know ๐Ÿ™‚

    #756632
    Chris

    Hi Tom,

    Looks all good to me! Magician.

    Cheers!

    #756766
    Tom
    Lead Developer
    Lead Developer

    Great! Thanks again for reporting the issue ๐Ÿ™‚

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