I'm wondering if there is a method to override the resource host of the image.

For instance allows say I've the next resource host and image tag

config.resource_host = "world wide web.xxx.com

image_tag "blerg.presen"

This could out put and image tag using the scr:

world wide web.xxx.com/blerg.presen

It is possible to method to alter the resource host inline for instance:

image_tag "blerg.presen", :host => 'www.yyy.com

Which may alter the resource host from the image.


You are able to pass your full url: image_tag "http://world wide web.yyy.com/blerg.presen"