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!
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.