Index: iepngfix.htc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/pngfix/Attic/iepngfix.htc,v retrieving revision 1.1.2.1 diff -u -r1.1.2.1 iepngfix.htc --- iepngfix.htc 24 Oct 2007 23:13:54 -0000 1.1.2.1 +++ iepngfix.htc 26 Oct 2007 07:21:39 -0000 @@ -12,7 +12,7 @@ // This must be a path to a blank image, relative to the HTML document(s). // In production use I suggest '/images/blank.gif' or similar. That's all! -if (typeof blankImg == 'undefined') var blankImg = '/drupal/sites/all/modules/pngfix/blank.gif'; +if (typeof blankImg == 'undefined') var blankImg = Drupal.settings['blankimg']; Index: pngfix.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/pngfix/pngfix.module,v retrieving revision 1.2.2.1 diff -u -r1.2.2.1 pngfix.module --- pngfix.module 24 Oct 2007 23:13:54 -0000 1.2.2.1 +++ pngfix.module 26 Oct 2007 07:22:35 -0000 @@ -19,7 +19,13 @@ function pngfix_menu($may_cache) { $items = array(); if (!$may_cache) { - drupal_add_css(drupal_get_path('module', 'pngfix') .'/pngfix.css'); + $path = base_path() . drupal_get_path('module', 'pngfix'); + drupal_set_html_head(''); + drupal_add_js(array('blankimg' => $path .'/blank.gif'), 'setting'); } return $items; }