• Resolved NagaTheme

    (@nagatheme)


    Hello My Friends at Converter for Media,

    1. I have a technical question regarding your plugin because I am conducting an in-depth comparison of WordPress image optimization plugins.

    Could you please clarify the following behavior?

    Suppose a user uploads this file:

    example.jpg or example.png

    After your plugin optimizes and converts it to WebP or AVIF, what exactly happens to the original (source) uploaded JPG/PNG file?

    To avoid any misunderstanding, I’m not asking about backup files created before optimization.

    I’m specifically asking about the original (source) uploaded image that WordPress stores in the Media Library.

    Which of the following best describes your plugin’s behavior?

    Option A

    • The original JPG/PNG remains on disk.
    • A WebP/AVIF version is created alongside it.
    • Both files continue to exist on the server.

    Option B

    • After successful conversion, the original JPG/PNG is automatically deleted.
    • The optimized WebP/AVIF becomes the only image stored on disk.
    • WordPress Media Library is updated to use the new image.

    2. If your plugin supports both behaviors, could you please specify:

    • Which option is the default?
    • Which settings enable each behavior?

    3. If the original JPG/PNG is deleted (Option B), are all generated WordPress image sizes (thumbnails, medium, large, etc.) also generated from the WebP/AVIF image, and does this remain fully compatible with the standard WordPress Media Library and image editing features?

    Or does your plugin intentionally keep the original JPG/PNG to maintain compatibility with WordPress core and third-party plugins?

    4. If the original JPG/PNG is deleted (Option B), does it work for pre-existing images? Or just work for new uploads?

    Thank you very much for your clarification.

Viewing 1 replies (of 1 total)
  • Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Hi @nagatheme,

    Thank you for your message.

    When a browser tries to download an image file, the plugin checks if it supports the AVIF format (if enabled in the plugin settings). If so, the browser will receive an equivalent of the original image in the AVIF format. If it does not support AVIF, but supports the WebP format, the browser will receive the equivalent of the original image in WebP format. In case the browser does not support either WebP or AVIF, the original image is loaded. This means full support for all browsers.

    Our plugin does not modify or delete original files. Files converted to WebP and AVIF formats are saved in a separate directory: /wp-content/uploads-webpc/. Our plugin is not used to optimize the amount of disk space used. The plugin can be used to optimize the weight of images loaded on the website, which makes the website load faster. We do not recommend deleting the original files.

    Below I have attached the tutorial describing how to test the plugin:
    https://mattplugins.com/docs/how-to-test-converter-for-media-plugin

    If you have any other questions, please, feel free to reach out to me. We will try to help you.

    Best,
    Mateusz

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.