Combine resizing with other options like webp
See original GitHub issueWould it be possible to stack resize
with another parameter like webp
? Currently it seems it’s either or. Right now I can only do this in css :
.webp .bgimage {
background-image: url('../static/images/bg.jpg?webp'); // will be over-sized
}
.no-webp .bgimage {
background-image: url('../static/images/bg.jpg?resize&size=520');
}
Ideally I’d like to do this :
.webp .bgimage {
background-image: url('../static/images/bg.jpg?webp&resize&size=520');
}
.no-webp .bgimage {
background-image: url('../static/images/bg.jpg?resize&size=520');
}
Issue Analytics
- State:
- Created 4 years ago
- Reactions:35
- Comments:7
Top Results From Across the Web
Free Online Resize WEBP Images with High output Quality
Integrate WEBP Resize feature in your own projects. This free resize tool is based on Aspose.Imaging for .NET, which is a fast API...
Read more >TinyPNG – Compress WebP, PNG and JPEG images ...
TinyPNG optimizes your WebP, PNG and JPEG images by 50-80% while preserving ... (Portable Network Graphics) file, similar colors in your image are...
Read more >Auto-Resize All Images at Once with Photoshop for Web or E ...
4 Simple Steps to Resize Multiple Images Using Image Processor in Photoshop! Learn how to batch reduce the image file size for web,...
Read more >How to RESIZE IMAGES for WEB using Photoshop (also GIMP ...
In this video, I show you how to quickly resize and optimize your images for the web using Photoshop, GIMP, Lightroom, and Luninar....
Read more >Resize, crop and other common transformations
If only, one of the height(h) or width(w) dimensions is specified, then ImageKit.io adjusts the other dimension accordingly to preserve aspect ratio and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Have you tried
?resize&format=webp
?I’m having difficulty with this as well 😕
Edit: Seems like a common issue here. #120 mentions it and references relevant issues, #84 and #91. Quote from issue #120: