# Question about the gallery extension

**URL:** <https://www.ruby-forum.com/t/question-about-the-gallery-extension/109789>\
**Category:** Radiant CMS\
**Created:** [July 19, 2007, 2:53am UTC](https://www.ruby-forum.com/t/question-about-the-gallery-extension/109789 "2007-07-19T02:53:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![travisbell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/96bed5/32.png) [@travisbell](https://www.ruby-forum.com/u/travisbell)\
**Post date:** [July 19, 2007, 2:53am UTC](https://www.ruby-forum.com/t/question-about-the-gallery-extension/109789/1 "2007-07-19T02:53:01Z")

</div>

Hey guys,

I have a quick question about the gallery extension I was hoping  
someone could answer for me.

Is there any way to have a resize option as well as the current crop?  
(By the way, that ROCKS).

Thanks!

–  
Travis B.  
removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![travisbell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/96bed5/32.png) [@travisbell](https://www.ruby-forum.com/u/travisbell)\
**Post date:** [July 19, 2007, 2:03pm UTC](https://www.ruby-forum.com/t/question-about-the-gallery-extension/109789/2 "2007-07-19T14:03:29Z")

</div>

Il giorno 19/lug/07, alle ore 02:51, Travis B. ha scritto:

> Hey guys,
> 
> I have a quick question about the gallery extension I was hoping  
> someone could answer for me.
> 
> Is there any way to have a resize option as well as the current crop?

You can resize an image directly in you page code…  
If you want to resize an image with a max width of 200px you can write:

\<r:gallery:item:thumb id=“1” position=“first” width=“200”/\>

* * *

Andrea F.

removed\_email\_address@domain.invalid  
[http://bigchieflabs.com/blog/](http://bigchieflabs.com/blog/)  
[http://think.bigchief.it](http://think.bigchief.it)

---

<div class="post-metadata">

**Author:** ![travisbell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/96bed5/32.png) [@travisbell](https://www.ruby-forum.com/u/travisbell)\
**Post date:** [July 19, 2007, 5:06pm UTC](https://www.ruby-forum.com/t/question-about-the-gallery-extension/109789/3 "2007-07-19T17:06:01Z")

</div>

Hi Andrea,

Does it just set the inline width to the width value, or does it  
actually resize the image? What I am looking for is a genuine resize  
so that if a client uploads a 2000x2000 image, we don’t have to be  
loading up 1.2MB every time it loads.

Thanks,

–  
Travis B.  
removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![travisbell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/96bed5/32.png) [@travisbell](https://www.ruby-forum.com/u/travisbell)\
**Post date:** [July 19, 2007, 6:14pm UTC](https://www.ruby-forum.com/t/question-about-the-gallery-extension/109789/4 "2007-07-19T18:14:12Z")

</div>

Il giorno 19/lug/07, alle ore 17:04, Travis B. ha scritto:

> Hi Andrea,
> 
> Does it just set the inline width to the width value, or does it  
> actually resize the image? What I am looking for is a genuine resize  
> so that if a client uploads a 2000x2000 image, we don’t have to be  
> loading up 1.2MB every time it loads.

it resizes the image and creates a thumbnail under thumbnails folder
