• Resolved RadiantFreedom

    (@radiantfreedom)


    After installing and running the image optimization tool, about 50% of the images on the linked page stopped loading. The only way to fix them seems to be to permanently delete the broken images from the server and reupload the image.

    I suspect the optimizer tool is doing something that corrupts the image files or otherwise prevents browsers from properly displaying them. Strangely, when viewing the page in the Divi visual builder, the images will display, but once out of the builder, the images show the error icon.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support adamewww

    (@adamewww)

    Hello @radiantfreedom

    It would seem that you don’t have EWWW IO running currently and I’m seeing images not displaying on your site so I don’t know that our plugin could have been doing this on your site. From what I can tell, it looks like you have a mixed content issue. The pages are being loaded over HTTPS but request an insecure image over HTTP. When you go to the image directly (open in a new tab), it opens it fine but the page can’t display it. I would check and fix this first and then see how things look.

    Thread Starter RadiantFreedom

    (@radiantfreedom)

    Given the timing of how this happened, there’s no other possibility but your plugin.

    I created the page 2 weeks ago for a client, last week got the client’s feedback and throughout all that time, all images were working perfectly.

    Then yesterday, as part of final edits and optimization of the page, I turn on EWWW, turn on lazy load, and run the image optimization tool, and once that tool had finished optimizing the images, suddenly half of them are not displaying properly, and I can remove the image and re-add it but it still won’t display if id didn’t before. As I’m building this page on Divi, it should be automatically applying the HTTPS protocol and if it was not, I’d be seeing signs of this issue on other client’s sites I’m running on Divi, and this issue would have shown up well before this, not wait until the specific moment when your image optimization algorithm had finished running.

    If some images are in fact getting their src values replaced with “http” instead of “https” like it should be, it has to be your plugin making those changes.

    When I deleted one of the problem images, permanently from the server and re-uploaded a clean copy, the image worked normally again. So reverting to an image untouched by your plugin fixes the issue. I am noticing the images display normally in the Divi editor, so that would indicate the image files themselves are not being corrupted, but the URLs of the optimized images are apparently being replaced with the wrong protocol, and removing and reinserting the same image does not seem to fix this, so it’s obviously happening behind the scenes, among data I normally don’t have access to within the WordPress Admin panel.

    Plugin Support adamewww

    (@adamewww)

    I’m sorry that it feels like it’s something that our plugin has done but I really believe it’s an instance of unfortunate timing. The only time our plugin affects URLs is if there has been a conversion (i.e. from PNG to JPG) but even then, it will only use HTTP if the site is configured for HTTP, such as if you used a SSL plugin to update things instead of actually updating the site address settings.

    The best way to fix this is to run a search/replace updating http to https and then to make sure that your site settings are set correct for SSL/HTTPs.

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