Hawk
Posts: 0
Joined: Mon Aug 04, 2014 11:23 am

Images are missing after upgrading to v3.0

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,

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Images are missing after upgrading to v3.0

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

Hawk
Posts: 0
Joined: Mon Aug 04, 2014 11:23 am

Images are missing after upgrading to v3.0

Hi Sergiy,

This one worked for me:

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

Thanks,

Return to “Issues”