This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Not sure if this is possible or there's a better way for doing this. But would it be possible to in the settings for a project be able to define some replacement values. So given in CSS:
I could define the url like:
Then in the settings i can say:
Then when the project is a release build it can put a CDN url in for images to be served from, but in development it's just my local machine or a full file path. |
|
|
Hi Phillip, You don't need replacement URLs. The image paths are relative to the css file so just use relative urls and put the css on your CDN also (that's what we do here at Mindscape also). Then you just need to have your css reference in your webpage reference the CDN copy of your CSS (or not if you want to disable the CDN) and you're away laughing - no need for complicated features :-) Hope that helps, John-Daniel Trask |
|
|
OH clearly this is just a case of PEBKAC. I wrote that on Friday but it wasn't sending. |
|