Posted by omerida on March 12, 2009 at 4:06pm
Jump to:
| Project: | Facelift Image Replacement Integration |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
flir.js assumes the module is installed in sites/all/modules, if you install it elsewher you get broken images in IE6 for requests to spacer.png. the path to spacer.png should be an option that is auto-discovered.
Comments
#1
is this still the case in 1.3-beta?
#2
I'm not sure - we decided not to use the flir module.
#3
I've just installed the dev version, and it's definitely still looking in sites/all/modules/flir/flir for spacer.png
I've looked further into this and the modules/flir/flir/flir.js has the path hard coded at line 427 as below:
img.src = this.options.path+'sites/all/modules/flir/flir/spacer.png';The spacer.png file lives in the same directory, and changing flir.js to the following seems to work:
img.src = './spacer.png';#4
This isn't hardcoded in the 2.x branch of flir.
#5
Automatically closed -- issue fixed for 2 weeks with no activity.