Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

Images Rendering Unusually in IE6


  #1  
Old Jul 31, 2009, 11: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, 08: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



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


All times are GMT -6. The time now is 12:29 PM.


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