• Resolved eaglejohn

    (@danielbenjamins)


    Is it just me, or is the Cloudinary plugin highly incompatible with the WordPress Block editor? Images or links to images (hosted at Cloudinary) break or get corrupted. They just disappear or get replaced by some sort of SVG code…

    For example:

    This usually happens after saving an existing post or page. After that it’s very complicated and takes many tries to insert the image again and get it to work. Everything seems very random.

    Yes, latest version of WordPress and Cloudinary. Theme: Twentyseventeen by WordPress.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter eaglejohn

    (@danielbenjamins)

    Forgot to mention:

    After re-inserting the image, it all looks fine in the block editor. When I refresh the front end there is either no image or a corrupt link to a SVG file.

    After reloading the back end / block editor the image disappeared there as well. The image container stil exists, but it’s invalid.

    Most of the time it’s a never ending circle. Sometimes it suddenly works, like I said very random.

    Plugin Support Wissam @ Cloudinary

    (@wissamcloudinary)

    Hi there,

    In order to be able to further investigate the issue you’re experiencing, may I kindly ask you to share a system report as explained [here](https://support.cloudinary.com/hc/en-us/articles/360022260599-How-to-generate-a-system-report-on-the-WordPress-plugin-)? If you can also add some assets to the system report (cf 2nd video) that would also be helpful.

    Once provided, we will take a deeper look into it on our end, trying to reproduce the issue to better understand the root cause for it.

    In case it will be necessary, will you be willing to provide us with temporary access to a sandbox environment of your site where we can take a look and debug if needed?

    If you prefer, could you create a new ticket using https://support.cloudinary.com

    Regards,
    Wissam

    Thread Starter eaglejohn

    (@danielbenjamins)

    There might be a plugin conflict with Autoptimize (https://wordpress.org/plugins/autoptimize/). When I uncheck “Lazyload images?” for the page I’m having issues on, it works right away. With that box checked, the image does not load, the link gets corrupt or it’s trying to import some weird SVG image.

    @futtta

    • This reply was modified 1 year, 6 months ago by eaglejohn.

    The SVG is the image placeholder which is supposed to be replaced by the lazyloaded image. If that does not get shown and you “see” the SVG, then there is a compatibility problem between Cloudinary & AO’s lazyload somehow, likely because Cloudinary also uses JavaScript to load images?

    Thread Starter eaglejohn

    (@danielbenjamins)

    Any updates on this? It’s driving me insane, randomly losing links to my Cloudinary images.

    Plugin Support Wissam @ Cloudinary

    (@wissamcloudinary)

    Hi there,

    In order to be able to further investigate the issue you’re experiencing, may I kindly ask you to share a system report as explained [here](https://support.cloudinary.com/hc/en-us/articles/360022260599-How-to-generate-a-system-report-on-the-WordPress-plugin-)? If you can also add some assets to the system report (cf 2nd video) that would also be helpful.

    Once provided, we will take a deeper look into it on our end, trying to reproduce the issue to better understand the root cause for it.

    In case it will be necessary, will you be willing to provide us with temporary access to a sandbox environment of your site where we can take a look and debug if needed?

    If you prefer, could you create a new ticket using https://support.cloudinary.com

    Regards,
    Wissam

    Thread Starter eaglejohn

    (@danielbenjamins)

    This already cost me too much time already, I’m most likely going to uninstall both plugins and activate these functionalities in my Cloudflare account.

    Plugin Support loic @ cloudinary

    (@loiccloudinary)

    Hi @danielbenjamins,

    From what I understand you are using both the Cloudinary Lazy loading and the Autoptimize Lazy loading. I believe this is expected to not work if both are enabled since the Cloudinary lazy loading is not only lazy loading images but also resizing properly images based on their containers width.

    I would recommend either using ours Lazy loading or the Autoptimize one depending on your needs but not the 2 together as Autoptimize won’t know how to interpret ours.

    Loic

    Thread Starter eaglejohn

    (@danielbenjamins)

    I tried both and images still lose their “scr” info when I use a Cloudinary image. When I use a local image, everything is fine.

    So <img src="myserver.com/image.jpg" alt="my_alt" /> is turning into <img src="" alt="my_alt" />

    Plugin Support loic @ cloudinary

    (@loiccloudinary)

    @danielbenjamins, any chance you can open a ticket to support@cloudinary.com so we can dig further into it without sharing personal information here? If you can share a system report as explained here that would be great as well when opening the ticket on our side.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Block editor’ is closed to new replies.