what is the best practice for serving images from a different sub-domain(like media.host.com) in cakePHP? Should I put the images in the img folder provided by cakephp and make this folder the document root of the sub-domain, or is there a better way of doing this?
Roland.
I don’t think it matters as long as the images are in the same place. In any case you can’t use
$html->image()as is, or you can but it’s probably wiser to modify it or roll your own helper so that you don’t have to always give it the full path. While you’re doing that you can just make it use whatever url root you want.