Forum: Radiant CMS Question about the gallery extension...

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Bb1793148319d3d884cdc085e4a8e58a?d=identicon&s=25 Travis Bell (Guest)
on 2007-07-19 02:53
(Received via mailing list)
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 Bell
travisdbell@gmail.com
D03835ee1210e4251e8c1a3976a38bc5?d=identicon&s=25 Andrea Franz (Guest)
on 2007-07-19 14:03
(Received via mailing list)
Il giorno 19/lug/07, alle ore 02:51, Travis Bell 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 Franz

andrea@bigchief.it
http://bigchieflabs.com/blog/
http://think.bigchief.it
Bb1793148319d3d884cdc085e4a8e58a?d=identicon&s=25 Travis Bell (Guest)
on 2007-07-19 17:06
(Received via mailing list)
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 Bell
travisdbell@gmail.com
D03835ee1210e4251e8c1a3976a38bc5?d=identicon&s=25 Andrea Franz (Guest)
on 2007-07-19 18:14
(Received via mailing list)
Il giorno 19/lug/07, alle ore 17:04, Travis Bell 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
This topic is locked and can not be replied to.