subdomain problem with pictures

3 posts by 2 authors in: Forums > CMS Builder
Last Post: December 19, 2008   (RSS)

Re: [kovali] subdomain problem with pictures

By Kenny - December 19, 2008

Koen

I haven't tried this with subdomains yet, but I use it where CMSB is installed on one domain, but the content is displayed on another domain (on the same server).

IE: CMSB is installed on www.sagentic.com and content is displayed on www.sagentic.net

Try putting the domain name before your echo statement like this:

<img src="http://www.mydomain.com<?php echo $upload['urlPath'] ?>" width="<?php echo $upload['width'] ?>" height="<?php echo $upload['height'] ?>" alt="" />


Let me know if that works in your case - I am curious to find out.

Kenny

Re: [sagentic] subdomain problem with pictures

By kovali - December 19, 2008

perfect results here, thanks Kenny!

Koen