Report this

What is the reason for this report?

Article don't work!!!

Posted on July 17, 2020

Hi, I’m about the article: “https://www.digitalocean.com/community/tutorials/how-to-create-and-serve-webp-images-to-speed-up-your-website-ru”. More precisely, I’m about “Displaying WebP Images with mod_rewrite”. I did everything exactly as in the example, but the configuration for the file doesn’t work. Everything works fine when for files: “image1.jpg” and “image2.jpg” I specify the path: “image1.jpg” and “image2.jpg”, and for file “logo.png” the path: “logo.jpg” . That is, I change the extensions for the files (“png” to “jpg” or “jpg” to “png”), but I do not have such files !!! Help me please.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @ntvsx601,

What happens when you execute this command on your images:

cwebp image.jpg -o image.webp

Does it give an error or does it create the files in the directory with the .webp extension?

Regards, KFSys

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.