@Ben_Glancy wrote:
In production built with Version 3.0.0 my images don’t load if they are specified in the CSS as a background say:.
background: transparent url("/assets/arp/page_images/impey/std_bg.gif") repeat scroll 0% 0%;
It only works if I prepend to it the name of the folder that the app is in at production time. But I don’t want to do that because the app gets deployed to different directory names.
I always seem to have to faff with the path putting on ellipsis like background:
transparent url("…/…/…/…/…/…/arp/page_images/impey/std_bg.gif") repeat scroll 0% 0%;
when really I want something that will work in both cases but I don’t want to write the deployed directory name in the CSS because then obviously I will have to skirt through all the CSS changing paths everytime I deploy the app to a different folder name.
Seems broken! Surely it should always load the css relative to the rootURL variable? I am setting it.
Posts: 1
Participants: 1