Sub Domains and absolute urls for images
I have a primary domain and sub domain. I have setup the sub domain in Parallels as m.mydomain.com for example as this will be the mobile version of the same website.
I want to use the same database and CMS for both with the admin being on the Primary domain. Although this works fine, the problem I have is any pictures uploaded to the primary domain within Admin use a relative URL. This equates to the sub domain having a broken link where any picture should be.
Is there anyway that Power CMS can display absolute URLs or alternatively code I could put on the sub domain webpage that displays the CMS copy which takes any relative URL and converts this into an absolute URL?
Any help appreciated.