image_filter_jpeg_quality based on size

Quintin Par quintinpar at
Tue Mar 20 07:08:52 UTC 2012

Let me rephrase my Q :-)

Can I find out the file size in a location directive?

On Sat, Mar 17, 2012 at 9:31 AM, Quintin Par <quintinpar at> wrote:

> Hi all,
> In the --with-http_image_filter_module:
> Can I set image_filter_jpeg_quality based on image size? Say I want to
> apply a loss of 75 to all images greater than 400KB. For the rest do
> nothing.
> -Quintin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list