Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

Images Rendering Unusually in IE6


  #1  
Old Jul 31, 2009, 10:50 AM
anonuser
 
4 posts · Jun 2009
Hi All:

I've found that images in my blog are rendering correctly across every relevant browser except IE6. For some reason, in IE6, some of the images in some posts appear stretched/skewed. Interestingly, this problem relates only to images in posts, as opposed to header images, logos, etc. And the text renders normally.

The blog address: http://blog.rarewineco.com.

Any input or advice would be much appreciated.

Many thanks and kind regards.
  #2  
Old Aug 7, 2009, 07:03 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
In js.php delete this:

/* Max-width for images in IE6 */
var centerwidth = jQuery("td#middle").width();

/* Images without caption */
jQuery(".post img").each(function() {
var maxwidth = centerwidth - 10 + 'px';
var imgwidth = jQuery(this).width();
var imgheight = jQuery(this).height();
var newimgheight = (centerwidth / imgwidth * imgheight) + 'px';
if (imgwidth > centerwidth) {
jQuery(this).css({width: maxwidth});
jQuery(this).css({height: newimgheight});
}
});

/* Images with caption */
jQuery("div.wp-caption").each(function() {
var captionwidth = jQuery(this).width();
var maxcaptionwidth = centerwidth + 'px';
var captionheight = jQuery(this).height();
var captionimgwidth = jQuery("div.wp-caption img").width();
var captionimgheight = jQuery("div.wp-caption img").height();
if (captionwidth > centerwidth) {
jQuery(this).css({width: maxcaptionwidth});
var newcaptionheight = (centerwidth / captionwidth * captionheight) + 'px';
var newcaptionimgheight = (centerwidth / captionimgwidth * captionimgheight) + 'px';
jQuery(this).css({height: newcaptionheight});
jQuery("div.wp-caption img").css({height: newcaptionimgheight});
}
});


or try changing the setting for Configure CSS & JS -> Javascript: External file or inline?

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Google Analytics plug-in rendering error code. acemaker Plugins & Atahualpa 2 Jun 28, 2009 06:07 AM
IE6 vs FF meK Atahualpa 3 Wordpress theme 2 Jun 4, 2009 08:20 AM
Sidebars messed up in IE6 lian Other BFA WordPress Themes 2 May 15, 2009 11:41 AM
Menu rendering issue in IE7 brandonhorn Page & Category Menu Bars 1 May 8, 2009 11:19 AM
Fonts all tiny in ie6 mrjohnston Header configuration & styling 1 Mar 23, 2009 08:36 PM


All times are GMT -6. The time now is 09:42 AM.


Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.