Releases for PNG Behave! *********************************************************************** pngbehave 6.x-1.3 6.x · Bug fixes mrjeeves - using a blank sizingMethod removes the ability to define height and width on PNG images Attempt to fix this by detecting defined sizes and setting sizingMethod to 'scale'. - 'scale' sizingMethod still includes padding size in the total height/width Correct this by subtracting the padding from the size before the image is scaled. - Adding padding style to images and backgrounds will no longer break layouts Issue discoverd: http://www.twinhelix.com/cgi-bin/forum.pl/iepngfix/299/p=7 drupal.org issue #342582: Version 1.2 breaks defined sizes on PNG images *********************************************************************** pngbehave 6.x-1.2 6.x · Bug fixes mrjeeves - December 4, 2008 - 01:33 Last updated: December 4, 2008 - 01:35 -removed auto size calculations due to new sizingMethod for IMG SRC -using a blank sizingMethod 'eats' padding on images attempt to correct this by adding the padding to the margin. -changed sizingMethod for IMG SRC (type==2) to blank fixes skewed images when padding is applied to the image inspiration from here issue #342115: Padding causes elements to stretch *********************************************************************** pngbehave 6.x-1.1 6.x · Bug fixes mrjeeves - December 3, 2008 - 12:49 Last updated: December 3, 2008 - 12:50 Version 1.1 introduces bug fixes for relative sub directory installs. (i.e. www.mysite.com/mydrupalinstall/) This addresses #341710: Drupal installed in sub directory breaks PNG Behave! Replaced Line 21 in pngbehave.module: -drupal_set_html_head(''.$pngbehaveclasses.' { behavior: url(/'. drupal_get_path('module', 'pngbehave') . '/iepngfix.htc)}'); with: +global $base_path; +drupal_set_html_head(''.$pngbehaveclasses.' { behavior: url('. $base_path . drupal_get_path('module', 'pngbehave') . '/iepngfix.htc)}'); the $base_path php variable defaults to '/' and allows for use of pngbehave in subdirectory based drupal installs. Replaced Line 16 in iepngfix.htc: -IEPNGFix.blankImg = '/iepngfix/blank.gif'; with: +IEPNGFix.blankImg = Drupal.settings.basePath + 'sites/all/modules/pngbehave/blank.gif'; NOTE: not sure how else I can inform the js files where to get the blank.gif file from, suggestions welcome. Commit blank.gif to this build *********************************************************************** pngbehave 6.x-1.x-dev 6.x mrjeeves - December 2, 2008 - 09:39 Last updated: December 4, 2008 - 06:13 Initial development release ***********************************************************************