• Resolved Stefan

    (@zahnd)


    Hi

    I don’t know exactly since when as I noticed this issue first in recent days, but for some reason, there seems to be a new conflict with the Shortpixel Image Optimizer plugin. For months, I used Meow App Retina, Shortpixel Image Optimizer, and Image Regenerate & Crop all together without issues. When I now try to optimize an image with Shortpixel, all thumbnails are going to be erased. If I disable the plugin “Image Regenerate & Crop”, there is no issue.

    The support from Shortpixel told me that this must be some kind of conflict with this issue. On their website https://help.shortpixel.com/article/117-why-are-my-images-re-compressed they write that this can happen if some logs in the metadata of WordPress are erased.

    Was there maybe a recent change which could be the reason for this?

    In addition, disabling thumbnail sizes doesn’t work either. Although some of the thumbnails are global ignored, they still show up.

    I made a video of the issue: https://www.dropbox.com/s/rv0i4src8youdpn/issue_image-regenerate-crop_shortpixel.mp4?dl=0

    Thank you in advance fo any help on this.

    Best wishes, Stefan

    • This topic was modified 4 years, 8 months ago by Stefan.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Stefan

    (@zahnd)

    I just figured out that the issue is caused by WooCommerce and not Image Regenerate & Crop. Sorry for the inconvenience.

    Plugin Author Iulia Cazan

    (@iulia-cazan)

    Hi Stefan,

    No worries, I am glad you found the issue on your own and that you shared this with me. Thank you!

    Have a nice day!
    Iulia

    Thread Starter Stefan

    (@zahnd)

    Hi Lulia

    I have to come back to this issue since there seems to be some conflict with WooCommerce, Shortpixel and Regenerate Image & Crop. I’m not sure what the problem is but if I try to optimize (shortpixel) an image which has no thumbnail for the sizes “woocommerce_gallery_thumbnail” or “shop_thumbnail” (they belong somehow together), all thumbnails are going to be deleted. More precisely, only the information that those thumbnails exist seems to be removed from the database. The image on the disk is still present.

    When I disable the Image Regenerate & Crop plugin and optimize the image again. This issue doesn’t arise. The interesting thing is that after optimizing the image with disabled Image Regeneration & Crop plugin, the two thumbnail sizes mentioned above are going to be created automatically. Don’t know if this plays a role.

    I created a video showing the following:
    1. Optimizing an image with both sizes mentioned above is successful
    2. Optimizing an image with none of the mentioned sizes above fails
    3. After the unsuccessful optimization, the image sizes still exist on the disk and are accessible through the web
    4. Image optimization with disabled Image Regenerate & Crop plugin is successful but the mentioned sizes above are going to be created automatically

    Please find the video here: https://www.dropbox.com/s/or5vau8gujflwem/image-regenerate-crop-shortpixel-issue.mp4?dl=0

    Do you have any idea what the issue could be?

    Thank you so much in advance and best wishes, Stefan

    Plugin Author Iulia Cazan

    (@iulia-cazan)

    Hi Stefan,

    I reviewed the video. My plugin always looks in the database at the content of the metadata, and that happens at the moment you open to see details of the image in the lightbox, or when you make any changes to the image through my plugin.

    What I saw in the video is that at 2.40 you check through my plugin the status of the images, which indicated the files exist and the metadata is correct in the database. Then, at 3.17 you initiate changes through ShortPixel plugin, and then you went back to my plugin (btw, no need to refresh the page to see details in the image details lightbox) at 3.57 and show that the images are not correct.

    My conclusion is that, during the processing of images that ShortPixel applies, the metadata in the database is not written correctly or some other error occurs. Perhaps you could check in the database the metadata after each action you perform, and see at what point the metadata gets broken.

    Let me know if this helps.

    Have a nice day,
    Iulia

    Thread Starter Stefan

    (@zahnd)

    Hi Lulia

    Thank you very much for taking the time to watch the video and give me feedback. Meanwhile, I removed WooCommerce and switched to Easy Digital Downloads. After removing WooCommerce, everything works fine again. It seems to me that there must be some sort of incompatibility between some or all of the three plugins. As debugging will be difficult and WooCommerce didn’t suit my needs (at least in the way I wanted it), I made the switch. Therefore, everything’s okay for me now :).

    Again, thank you for your time and sorry for any inconvenience caused.

    Best wishes, Stefan

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Conflict with ShortPixel Image Optimizer’ is closed to new replies.