• Resolved chuantong

    (@chuantong)


    Hey,

    Imagify prevent centering of images and delete image margins. It stops as soon as the plugin is deactivated.

    How could it be solved ?

    Many thanks in advance.

    Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WP Media

    (@wp_media)

    Hi,

    We have similar issues from other users. This is related to WebP display option as you use <picture> tag method. So your theme does not cover CSS for picture tag, but only for img tag.

    You would have to write some custom CSS to fix this, ask your theme provider to include the updated CSS to their codebase or send us the URL with the problematic behavior so we could analyze it and send you the code (as long as there are no too many elements to fix).

    Alternatively (ideally), you can use rewrite rules method as it won’t trigger this kind of issues. But it will work only if you don’t use CDN/Cloudflare.

    Let me know if it works.

    Best Regards

    Plugin Author WP Media

    (@wp_media)

    Hey @chuantong

    Hope you are doing well.

    We will close this thread for now – feel free to reopen it if you have any further questions, we are happy to help.

    Best Regards

    Thread Starter chuantong

    (@chuantong)

    Hi, thanks for your answer and sorry for late reply. It worked well using the rewrite rules method. Strangly enough, it did also help with the other issue of the Webp files not being created (for which i had opened a support ticket too).

    Thanks again.

    Best Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Prevent centering image and delete image margin’ is closed to new replies.