Downloads
Release notes
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('
');
with:
+global $base_path;
+drupal_set_html_head('
');
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