[Radiant] Linking to an local image in Radiant

Sean Cribbs seancribbs at gmail.com
Sun Jul 6 11:06:22 CDT 2008


Mohit Sindhwani wrote:
> 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.
>
>
It is no longer hosted at svn.seancribbs.com, but is available on github:

git clone http://github.com/radiant/radiant-page-attachments-extension.git

Sean



More information about the Radiant mailing list