I don't see where a "thumb" radius tag is defined in the source. Why
did you expect that tag to work? We'll need to correct the docs if
that's where you got it.
Looking at the 0.6.9 tagged code (and it's still this way in the
latest version) I see the description of the image tag:
Have you tried:
<r:attachment:image name="file.jpg" size="thumb"/>
--
Jim Gay
Saturn Flyer LLC
http://www.saturnflyer.com
571-403-0338
Hi!
Sorry missed your post. As you might have seen from something I posted shortly after your post (even though I missed it) I didn't get that from any documentation at all, in fact I was unable to find anything about it... but later on I remembered reading somewhere that one should use the size-attribute, as you pointed out. (But it sucks a little bit that the size-attributes also shows up in the actual output... and a validator would choke on that.)
Anyways... now I got it working, but I only get it working for size="icon" but not size="thumb"... this also applies to newly added images. For size="thumb" it links the image correctly, but the thumb-image isn't simply generated. However my PAGE_ATTACHMENT_SIZES = {:thumb => '120x120>', :normal => '640x480>'} at the end of environment.rb seems to be recognized as new normal images (without a size attribute) are now limited to the specified size.
cheers, Simon
My assumption that it did recognize 'normal' size was wrong, the images in question just happened to be small enough. :) So I moved PAGE_ATTACHMENT_SIZES = {:thumb => '120x120>', :normal => '640x480>'} to the beginning of environment.rb instead and voila, it works! :)
cheers, Simon