• Resolved Benfellah

    (@benfellah1992)


    Hello

    When i upload an image “dog.png” the plugin convert it to “dog-300×300.png.webp”.

    When i’m checking “dog-300×300.png” and “dog.png” not working but “dog-300×300.png.webp Working.

    How can i fix this ?

    Thank you

    Log : https://pastebin.com/5ZzqriJ2

    • This topic was modified 1 year, 10 months ago by Benfellah.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support adamewww

    (@adamewww)

    Hi Alphart,

    Our plugin doesn’t delete anything unless you tell it to. For WebP, it specifically doesn’t delete the originals since it keeps them as a fallback so there isn’t an option to delete those. Are you just seeing that WebP version on your site when you inspect it? That is as it should be since, if it can, you want it to serve WebP. If you look for that image in your media library, can you find it and in the far right column a link to the WebP version?

    Thread Starter Benfellah

    (@benfellah1992)

    Hi @adamewww,

    After investigating i found the issue is the htaccess file. I removed this line and the images working. I need to know if i remove this code will not create any problem. Thank you

    RewriteRule .*.(jpg|jpeg|gif|png|bmp|webp)$ - [F,NC]
    Plugin Support adamewww

    (@adamewww)

    Do you have something else that is trying to serve WebP? Regardless, if the .htaccess rules are giving an issue, you will most likely need to use the Alternate JS WebP option to serve your WebP.

    Plugin Support adamewww

    (@adamewww)

    I’m going to mark this thread as resolved as it’s been a while since we heard from you, but feel free to start a new one if you need further help. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Plugin delete original images after resize and conversion’ is closed to new replies.