# Re: Im trying to make Thumbnail pics -- any suggestions?

**URL:** <https://www.ruby-forum.com/t/re-im-trying-to-make-thumbnail-pics-any-suggestions/128623>\
**Category:** Ruby\
**Created:** [February 9, 2008, 3:06pm UTC](https://www.ruby-forum.com/t/re-im-trying-to-make-thumbnail-pics-any-suggestions/128623 "2008-02-09T15:06:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stefan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/bbce88/32.png) [@stefan](https://www.ruby-forum.com/u/stefan)\
**Post date:** [February 9, 2008, 3:06pm UTC](https://www.ruby-forum.com/t/re-im-trying-to-make-thumbnail-pics-any-suggestions/128623/1 "2008-02-09T15:06:56Z")

</div>

I have just finished simple script which will generate thumbnail of  
any image. It generates thumbnail on the fly and uses cache to save  
resized image. You can call /thumb/photo.jpg?w=150&h=150 and get  
resized version of the picture.

You can download it from:  
[http://www.cleverleap.com/ruby-thumbnail-generator/](http://www.cleverleap.com/ruby-thumbnail-generator/)

It uses GD2 library.

Hopefully you will find it useful. Any comments or improvements are  
welcome.
