Rafael

There are a couple of ways to do this. The easiest would be to set a new value for the image url in the Settings ext. or in Radiant::Config.

Just add a new setting for 'assets.url' with the value 'http://mydomain.com/:class/:id/:basename:no_original_style:extension' and you will be good to go. I just tried this and the new src attribute indeed has the domain in it. This is the default path, with the domain added. You can modify the path if you want, but of course you will have to move the existing assets accordingly.

These settings were added when I updated Paperclipped to use Amazon S3, but of course work if you are using the file system too

Another way would be to not use the <r:image /> tag, but rather a more verbose version like this:

<img src="http://mydomin.com/</r:url />" alt="<r:title /> " or something along these lines.

Let me know if that helps.

Keith



Keith Bingman

ke...@keithbingman.com
http://keithbingman.com




On Jul 23, 2009, at 11:52 PM, Rafael Souza wrote:

Anyone is using feedburner to manage feeds?

I am having problems with images (I use paperclipped extension to manage
images) when generating the feed.

The image "src" attribute is like "/assets/(id)/(nome_do_arquivo)", but I
think for feedburner it must be "
http://mydomain.com/assets/(id)/(nome_do_arquivo)"

Thanks,

Rafael Souza
raf...@maisweb.org
+55 84 8844-9171
_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

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

Reply via email to