Promo Pictures Off Center

I have a few promo pics I uploaded to use on my site with the image reloader.

admin>>settings>>basic settings>>  Promo Box

I resized all the images to 994x262 because that was the size of the original pics that came with boonex.

Sometimes the pictures show up off to the right and a little low.  I reload the page and then they load fine.

Any idea what is causing this?  I've searched the forum and didn't find a solution that matched my problem.

Quote · 4 Jul 2012

Are you using internet explorer by any chance? Try to view it in fire fox and see if it still hapens. If it is the IE problem i believe there is a post somewhere in the forums with a solution...

 

Hope it helps,

 

Nathan

Quote · 4 Jul 2012

You're right, it doesn't happen in Mozilla!  Would you happen to know the link to the IE solution?

Quote · 7 Jul 2012

@ DeeEmm: Thank You DeeEmm! Your idea (as follows) seems to be working so far...

---

In the file: yoursite.com/inc/js/jquery.dolPromo.js

 

Change

$img.css({
position: 'absolute',
left: Math.round( ($img.parent().width() / 2) - ($img.width() / 2)),
top: Math.round( ($img.parent().height() / 2) - ($img.height() / 2))
});

to

$img.css({
position: 'absolute',
left: 0,
top: 0,
width: '940',
height: '264'
});

Done.

Quote · 13 Jul 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.