• Resolved guren

    (@gurenintern)


    Hello! I’m thinking of deleting the uploads-webpc folder since the inodes on my hosting is already full and it seems that the .webp images are not being used by my website. Is it okay to delete the said folder?

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

    (@mateuszgbiorczyk)

    Hi @gurenintern,

    Thank you for your message.

    Files in the WebP format are used, but not in the way you expect. The plugin does not change URLs to images, so when looking at the source of the website, you will see the URLs for the default images all the time. The plugin creates redirections to output files in WebP and AVIF format, changing the MIME type of these images, but without changing the URL.

    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.

    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 delete the /wp-content/uploads-webpc/ directory, using our plugin will no longer make sense. But of course you can do this or this directory will be deleted automatically during the plugin uninstallation process.

    Best,
    Mateusz

    Thread Starter guren

    (@gurenintern)

    Okay, thank you for the clarification! If try to delete the original image and if a browser does not support both WebP and AVIF, the image wouldn’t show right?

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Yes, you are right @gurenintern!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Deleting uploads-webpc folder’ is closed to new replies.