-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webp issues with EDIT ME plugin. #70
Comments
I'll need some more info to help you here. What error do you get? How do you upload the image? The plugin only rewrites requested images to their webp version. If the webp version does not exist, it tries to convert the original image to the webp format. The plugin should not interfere wit your uploads. Having the webp check server side would mean that every image that gets requested needs to be handled by PHP. This would result in a huge performance issue. |
Check out the |
Another idea for solution. What about using picture tag ? And automatically attach webp to it.
|
But then you would have to rewrite the markup of the page. And there is a big difference between a There's nothing stopping you from using the picture element manually. You can edit the |
Hi
I get error when uploading images from frontend with enabled webp conversion. I quess it's rewriting upload path or messing with upload verification.
Wouldnt it be better to detect support in plugin and change picture based on that ?
The text was updated successfully, but these errors were encountered: