Forum: NGINX image_filter don't resize

Posted by skycoyotte (Guest)
on 2012-12-16 20:37
(Received via mailing list)
hello
I'm using nginx 1.2.4 with image_filter and i recently found a problem.
If i try to make come down the jpeg quality, and the size (800-600), for 
an
image in the same resolution, NGinx does nothing.
In other word, I think NGinx give me the original image when the 
resolution
i ask is the same than the orignal.

Am i wrong ?

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?2,234090,234090#msg-234090
Posted by Reinis Rozitis (Guest)
on 2012-12-17 00:05
(Received via mailing list)
> In other word, I think NGinx give me the original image when the
> resolution i ask is the same than the orignal.

You are correct.

Though it is quite easy to edit the image_filter module if you really 
need
the resize when the dimensions are the same or less.

rr
Posted by skycoyotte (Guest)
on 2012-12-17 09:17
(Received via mailing list)
Thanks
Indeed i think i can update this function around the file
ngx_http_image_filter_module.c.
have a nice day

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?2,234090,234099#msg-234099
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.