# Image\_filter don't resize

**URL:** <https://www.ruby-forum.com/t/image-filter-dont-resize/225140>\
**Category:** NGINX\
**Created:** [December 16, 2012, 8:37pm UTC](https://www.ruby-forum.com/t/image-filter-dont-resize/225140 "2012-12-16T20:37:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [December 16, 2012, 8:37pm UTC](https://www.ruby-forum.com/t/image-filter-dont-resize/225140/1 "2012-12-16T20:37:54Z")

</div>

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:

> **[image\_filter don't resize](https://forum.nginx.org/read.php?2,234090,234090#msg-234090)**
>
> 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...

---

<div class="post-metadata">

**Author:** ![skycoyotte](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/cab0a1/32.png) [@skycoyotte](https://www.ruby-forum.com/u/skycoyotte)\
**Post date:** [December 17, 2012, 12:05am UTC](https://www.ruby-forum.com/t/image-filter-dont-resize/225140/2 "2012-12-17T00:05:50Z")

</div>

> 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

---

<div class="post-metadata">

**Author:** ![skycoyotte](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/cab0a1/32.png) [@skycoyotte](https://www.ruby-forum.com/u/skycoyotte)\
**Post date:** [December 17, 2012, 9:17am UTC](https://www.ruby-forum.com/t/image-filter-dont-resize/225140/3 "2012-12-17T09:17:25Z")

</div>

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:

> **[Re: image\_filter don't resize](https://forum.nginx.org/read.php?2,234090,234099#msg-234099)**
>
> 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...
