I solved it by writing an image tag with a "size" attribute. This  
just passes a key to the public_filename in attachment_fu. Then I can  
make and access any size I want using something like  
<r:attachment:image size="thumbnail" /> with calls the image path  
with "public_filename(:thumbnail)". This gives me a great deal of  
flexibility to autogenerate specific sizes and easily call them.

Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]
http://keithbingman.com




On Jun 6, 2007, at 2:28 PM, Sean Cribbs wrote:

> There's no specific support for thumbnails, other than being generated
> to support the UI.  They are 50x50 by default. Would a "thumbnail" tag
> be helpful?
>
> Sean
>
> Jonathan Métillon wrote:
>> Hi,
>>
>> I have page_attachments installed and running on Radiant edge. I also
>> have MiniMagick installed. gem list shows:
>>
>> mini_magick (1.2.0)
>>     Manipulate images with minimal use of memory.
>>
>> The <r:attachment:image /> tag works very well!
>>
>> But in the Available Tags list, I can't see anything related to
>> generating a thumbnail. Is there something like
>> <r:attachment:thumbnail /> ?
>>
>> Thank you.
>>
>> J.
>> _______________________________________________
>> Radiant mailing list
>> Post:   [email protected]
>> Search: http://radiantcms.org/mailing-list/search/
>> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>>
>>
>
> _______________________________________________
> Radiant mailing list
> Post:   [email protected]
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to