Page 1 of 1

Images are missing after upgrading to v3.0

Posted: Thu Feb 04, 2016 2:25 am
by Hawk

Hi,

When I open my App, I get the following errors in the console:
Image

I refer to these images in my CSS customized file as follows:
pre
.C_GlobaleContainer {
background-image: url('../../../resources/image/background2.png')!important;
background-size: cover!important;
background-position: center !important;
}

.ui-checkbox-on:before {
background: url('../../../resources/image/q9.PNG')!important;
display:none !important;
}
/pre

How should I amend the path, given the directory structure like this:

Image

Thanks,


Images are missing after upgrading to v3.0

Posted: Thu Feb 04, 2016 10:44 am
by Serhii Kulibaba

Hello,

Please check current project struncture.

You should use url to the image in the CSS file like:

../../files/resources/image/background2.png

instead of:
../../../resources/image/background2.png


Images are missing after upgrading to v3.0

Posted: Wed Feb 10, 2016 6:14 am
by Hawk

Hi Sergiy,

This one worked for me:

../files/resources/image/background2.png

Thanks,