Linking to an local image in Radiant

View: New views
4 Messages — Rating Filter:   Alert me  

Linking to an local image in Radiant

by Andrew Goodnough-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
_______________________________________________
Radiant mailing list
Post:   Radiant@...
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: Linking to an local image in Radiant

by Mohit Sindhwani-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.


_______________________________________________
Radiant mailing list
Post:   Radiant@...
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: Linking to an local image in Radiant

by Sean Cribbs-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

_______________________________________________
Radiant mailing list
Post:   Radiant@...
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: Linking to an local image in Radiant

by Andrew Goodnough-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks, Mohit, that worked great for installing the extension.  I've
attached a couple pic and I'm on my way.

Andy

On Sat, Jul 5, 2008 at 10:09 PM, Mohit Sindhwani <tech@...> wrote:

> 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_attachmentsvendor/extensions/page_attachments
>
> and it worked fine for me.  (I think the repository has moved)
>
> Hope this helps.
> Cheers
> Mohit.
>
_______________________________________________
Radiant mailing list
Post:   Radiant@...
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
LightInTheBox - Buy quality products at wholesale price