• Media image URLs are being corrupted since being automatically upgraded to 4.5.1

    I’ve tried disabling all plugins, but the issue still persists.

    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.

    As disabling the plugins has had no effect what so ever, i can only put it down to being a wordpress issue, so help would be greatly appreciated.

    DIG’s

Viewing 1 replies (of 1 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">

Viewing 1 replies (of 1 total)
  • The topic ‘Media Image URLs being corrupted’ is closed to new replies.