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

Old Jul 31, 2009, 10:50 AM
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.
Old Aug 7, 2009, 07:03 PM
Flynn's Avatar
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?


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 04:17 AM.

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