Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
January 26, 2022 03:36 am GMT

Optimize and resize image urls effortlessly - load website faster

The fast and easy way to make your websites load faster

Optimize and resize images effortlessly

Statically.io :- https://statically.io/

Quick start
GET https://cdn.statically.io/img/:domain/:image

Resize image by width (w=:pixel)
GET https://cdn.statically.io/img/:domain/w=:pixel/:image

Resize image by height (h=:pixel)
GEThttps://cdn.statically.io/img/:domain/h=:pixel/:image

Enable auto-WebP (f=auto)
GET https://cdn.statically.io/img/:domain/f=auto/:image

Adjust quality (q=:percentage)
GET https://cdn.statically.io/img/:domain/q=:percentage/:image

Combine params
_Params can be combined using commas and after /img/:domain/ path.
_
GET https://cdn.statically.io/img/:domain/f=auto,w=:pixel/:image
GEThttps://cdn.statically.io/img/:domain/h=:pixel,q=:percentage/:image

Live demo

GET https://cdn.statically.io/img/staticsite.fun/w=300,h=500/cat.jpg

GET https://cdn.statically.io/img/staticsite.fun/f=auto,w=600,h=400/dog.jpg

GurImg - Free Image Hosting :- https://gurimg.sh20raj.repl.co/


Original Link: https://dev.to/sh20raj/optimize-and-resize-image-urls-effortlessly-load-website-faster-3c8d

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To