Hi!
I'm using an old Radiant 0.7.1 installation with the page_attachments extension
in use.
In the Radiant admin interface thumbnails seem to be working, I get small icons
for attached images there. But on the actual web pages I don't get resized
images showing up, I might be doing something wrong... but the page_attachments
extension doesn't seem to be all that well documented, so I turn to you. :)
I added PAGE_ATTACHMENT_SIZES = {:thumb => '120x120>', :normal => '640x480>'}
at the end of my environment.rb and restarted the app, I used this kind of
Radius code:
<r:children:each order="desc">
<div class="entry">
<h2><r:title /></h2>
<r:attachment:each
extensions="png|jpg"><r:attachment:link><r:attachment:image:thumb
/></r:attachment:link><br /></r:attachment:each>
<r:content />
</div>
</r:children:each>
What I get is a full sized image. Any ideas of where things might have gone
wrong?
When I tested with just a simple <r:attachment:image:thumb name="image.png" />
again I got ‘name’ attribute required in the page.
cheers, Simon