Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter DIGGIDY

    (@diggidy)

    I really do not understand what is going on here, the “src” url of the image is correct, but the “srcset” is screwed, missing the “gallery/” parts of the url.

    What is causing this to happen?

    <img class="alignnone size-full wp-image-10582" src="https://www.5clubracing.co.uk/wp-content/uploads/gallery/galleries/mx5-cup/brands-hatch-2016/JonElsey20165ClubBrands-247.jpg" alt="JonElsey20165ClubBrands-247" width="800" height="533" srcset="https://www.5clubracing.co.uk/wp-content/uploads/galleries/mx5-cup/brands-hatch-2016/JonElsey20165ClubBrands-247.jpg 800w, https://www.5clubracing.co.uk/wp-content/uploads/galleries/mx5-cup/brands-hatch-2016/_cache/JonElsey20165ClubBrands-247-300x200.jpg 300w, https://www.5clubracing.co.uk/wp-content/uploads/galleries/mx5-cup/brands-hatch-2016/_cache/JonElsey20165ClubBrands-247-768x512.jpg 768w, https://www.5clubracing.co.uk/wp-content/uploads/galleries/mx5-cup/brands-hatch-2016/_cache/JonElsey20165ClubBrands-247-600x400.jpg 600w" sizes="(max-width: 800px) 100vw, 800px">

    I have the exact same issue, it looks like the image url’s are being corrupted somehow.

    I’m seeing parts of the image url path being striped, for example this is an actual image url in my media gallery.

    The Valid url..
    https://www.5clubracing.co.uk/wp-content/uploads/gallery/galleries/mx5-cup/brands-hatch-2016/JonElsey20165ClubBrands-247.jpg

    This is being output in the post/page html as this..

    Invalid url..
    https://www.5clubracing.co.uk/wp-content/uploads/galleries/mx5-cup/brands-hatch-2016/JonElsey20165ClubBrands-247.jpg

    As you can see “gallery/” is been stripped from the url path.

    You can see for yourself here https://www.5clubracing.co.uk/ on the front page.

    Only started happening when the latest update 4.5.1 was automatically applied by WordPress.

    Thread Starter DIGGIDY

    (@diggidy)

    I made lots of small changes to get the functionality for my very specific needs, there are other solutions out there like File Away which are far better and properly supported.

    But if you really want to use this plugin, I can post the source I guess, but I need to dig it out later when I’m back home.

    Thread Starter DIGGIDY

    (@diggidy)

    Ok, figured out how to get around the hashing.

    But, I have another question, what is the purpose of setting the transient? I don’t see what its trying to achieve ?

    v2.02 fix worked for me, thanks ??

    I’ve got the exact same issue, in the latest version 1.24, moving from 1.23

    I’ve just pasted the display-widgets.php code from previous version, 1.23, directly into the pluging edit screen as a workaround.

    https://plugins.svn.www.ads-software.com/display-widgets/tags/1.23/display-widgets.php

    I would suggest you do something similar and roll back to a version you know that works. Depending on the changes that were made between the versions you should be ok just doing that for the time being, then the next update will overwrite it again.

    This is assuming you didn’t take a backup before updating of course.

Viewing 6 replies - 1 through 6 (of 6 total)