Foren
Images can't be loaded
Daniel Sánchez Sierra, geändert vor 7 Jahren.
Images can't be loaded
Junior Member Beiträge: 29 Beitrittsdatum: 30.04.10 Neueste Beiträge
Hi everyone,
I have developed and deployed a theme but it is impossible to render some images I referenced from the css files. I use relative paths to invoke that images: url("..(folder/image.png")
When I check it usin firebug it appears a 404 error (Failed to load) because within the url there is the text '@base_url@'
When I launch 'ant clean war' task it doesn't launch any sass (or similar) error.
Does anyboy has any clue about why the images can't be loaded.
Thanks in advance
I have developed and deployed a theme but it is impossible to render some images I referenced from the css files. I use relative paths to invoke that images: url("..(folder/image.png")
When I check it usin firebug it appears a 404 error (Failed to load) because within the url there is the text '@base_url@'
When I launch 'ant clean war' task it doesn't launch any sass (or similar) error.
Does anyboy has any clue about why the images can't be loaded.
Thanks in advance
Jakub Bebjak, geändert vor 7 Jahren.
RE: Images can't be loaded
Junior Member Beiträge: 25 Beitrittsdatum: 16.01.14 Neueste Beiträge
Hi Daniel,
use relative path to images directory:
url("$images_folder/image.png")
use relative path to images directory:
url("$images_folder/image.png")