Serving images for a cakePHP site from a different sub-domain -


what best practice serving images different sub-domain(like media.host.com) in cakephp? should put images in img folder provided cakephp , make folder document root of sub-domain, or there better way of doing this?

roland.

i don't think matters long images in same place. in case can't use $html->image() is, or can it's wiser modify or roll own helper don't have give full path. while you're doing can make use whatever url root want.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -