Quick Nav:  Online Store   |   Login | Register

CSS Merging and Background Images

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
A Ybarra
<20 Posts
Posts:3


05/13/2008 2:27 AM  

I have installed PageBlaster 3.3.1. After enabling CSS merging, some, but not all, of the background-image properties are getting changed. For example:

background-image: url(top_left.gif);

is changed to

background-image: url(/dnn482/Portals/_default/Skins/classic/left.gif);

This is happening with images named: top_left.gif, top_right.gif, bottom_left.gif, and bottom_right.gif.

If I change the CSS to use top1_left.gif, the problme still occurs, but not if I use top_left1.gif

Can anyone offer any sugestions on where the problem might be?

John Mitchell
Posts:3033


05/13/2008 7:16 AM  

All the locations need to change since the location of the Merged CSS file is not the same in relation to the images.  So the code will add the absolute path to the image.

I don't know why it would chage top_left.gif to just left.gif though.

Could you attach your CSS file?  Or if you don't mind if I had the whole skin I could debug it directly.

A Ybarra
<20 Posts
Posts:3


05/13/2008 11:04 AM  

Thank you for the quick reply.

I've attached a trimmed down skin 'ShadowProblem.zip' that exhibits the problem. I've also attached a copy of the config file that I'm using.

Any help you can offer is appreciated.

Thank you


Attachment: 15134541154.zip

John Mitchell
Posts:3033


05/16/2008 7:46 PM  

Thanks for the detailed explanation and your patience while I tracked this one down.

I was able to find the problem, which turned out that I was replacing some of the paths wrong when some contained the partial names of others.

I have attached a new DLL that should fix it.  Just drop this in your /bin folder over the other one.

 


Attachment: 1516465122971.zip

A Ybarra
<20 Posts
Posts:3


05/16/2008 8:38 PM  

Thank your for your excellent response time and quick resolution.

Initial testing, via file comparison, shows that only the paths have changed and everything else is as expected.

Thanks again.

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Forums >Snapsis Product Support >PageBlaster > CSS Merging and Background Images



ActiveForums 3.7
Powered by: Snapsis Software