DEV Community

Cover image for Optimize and resize image urls effortlessly - load website faster
Sh Raj
Sh Raj

Posted on

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/
YouTube Doc :- https://youtu.be/uhK1Lh8HMv8


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/

Top comments (3)

Collapse
 
andypiper profile image
Andy Piper

This is basically copied from statically.io.

Collapse
 
sh20raj profile image
Sh Raj

Yes because I'm promoting the website.

Collapse
 
andypiper profile image
Andy Piper

In that case, this is what the Listings page is for.