Posted by pulpzebra on May 2, 2008 at 4:10pm
Jump to:
| Project: | PNG Fix |
| Version: | 6.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
It looks like I cannot make the PngFix work properly. Do I need to put a 'blank.gif' file or any other image into any folder? which one?
Comments
#1
This one caused me some issues too. I couldn't find anywhere to modify it except for the JS code. Here's the code I modified and where I placed the file:
// Settings
settings = jQuery.extend({
blankgif: '/sites/all/modules/pngfix/blank.gif'
}, settings);
and I added the blank.gif in the /sites/all/modules/pngfix direcory
#2
This is actually a big problem, as it drops a red X over certain elements (maybe positioned ones? I'm not sure.
I fixed this using the suggestions above, but I had to make a small change to the code, as I am using my Drupal installation in a sub folder:
I changed the code in jquery.pngFix.js to:
settings = jQuery.extend({blankgif: Drupal.settings.basePath + 'sites/all/modules/pngfix/blank.gif'
}, settings);
And added blank.gif to /sites/all/modules/pngfix
This should be changed for the next update to this module.