Skip to content

robbymilo/nginx-image-resizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

nginx image resizer

On-the-fly cached image resizing with nginx.

To run locally, run docker run -p 3000:80 -v ./html:/var/www/html robbymilo/nginx-image-resizer in your terminal to run the docker image.

Change the volume to a directory of images on your machine or server.

Then navigte to:

http://localhost:3000/images/test.jpg?w=1500&s=75&q=50

Supports .jpg, .gif (without animation), and .png.

Options via query params

  • w= width
  • h= height
  • s= sharpening
  • q= quality

About

On-the-fly cached image resizing with nginx.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published