[Radiant] Linking to an local image in Radiant

Mohit Sindhwani tech at onghu.com
Sat Jul 5 22:09:09 CDT 2008


Andrew Goodnough wrote:
> I need to add an image to a Layout.  It's in a Layout because the image will
> be on every page but I also need to add images to Pages in the website.  Do
> I need to install the Page Attachment extension to do this?  This
> requirement seems very basic so I feel I might be missing something.
>
> Assuming I do need this extension, I'm following the directions found here
> http://wiki.radiantcms.org/Installing_Extension_-_Page_Attachments to
> install it.  I'm getting an authenication error trying to get the extension.
>
> $ svn export
> http://svn.seancribbs.com/svn/rails/plugins/extensions/page_attachmentsvendor/extensions/page_attachments
> -r 58
> Authentication realm: <http://svn.seancribbs.com:80> svn.seancribbs.com
> Password for 'andrew':
>
> Is there a guest user for this repository?
>
> Andy

Hi Andy

There are 2 ways to do this:
1. You could use page_attachments or something like it
2. If it's acceptable, you could put the image into /public and refer to 
it from your layout

As for page_attachments, this is what I used:
svn export http://svn.techno-weenie.net/projects/plugins/attachment_fu/ 
vendor/plugins/attachment_fu
svn checkout 
http://svn.radiantcms.org/radiant/trunk/extensions/page_attachments 
vendor/extensions/page_attachments

and it worked fine for me.  (I think the repository has moved)

Hope this helps.
Cheers
Mohit.




More information about the Radiant mailing list