When using IE7 on Windows XP and Lightbox2 6.x-1.x-dev, the HTML code for next and previous links is showing when hovering over photos as the "tool tip" or "title text".
This is not happening with Firefox. I do not believe this was happening with a previous 6.x version of Lightbox2. It only started when I updated to the later versions.
I am using the standard image module and Lightbox2 settings for automatic image handling for the image node are set to Slideshow, display original size, trigger on thumbnail, and disable for gallery lists.
Comments
Comment #1
cota commentedFixed it myself by hacking your code, no thanks to you.
cheers
-cota
Comment #2
stella commentedSorry for not responding sooner, but to be honest I'm doing this for free, while having 2 jobs and doing a part-time MSc, so I don't appreciate your attitude. At the very least you could contribute back a patch to the module so as to help improve it or help other users in the same situation.
Regards,
Stella
Comment #3
drewish commentedi'll add cota to my support blacklist.
Comment #4
merlinofchaos commentedYou're using software you got for free. If you find a bug and fix it, instead of being a jerk to the author, you should supply a patch to the author so that everyone can benefit. Just like you did. That's the whole point of open source. This is not a corporate package where you get immediate help because you pay for a service contract. Instead, you get software that people collaborated on. Unfortunately, you've chosen not to actually collaborate. This is, of course, your choice and your right, but you'll find that people remember that in the community. Maybe that won't or doesn't bother you, and that's fine too.
Comment #5
michelle@cota - Wow, that was incredibly rude. Since you are new to the community maybe you missed the fact that modules are provided for free with no guaranteed support. If you need a solution immeditately, you can hire a developer or figure out the issue yourself as you have done. When you have a solution, it is considered good form to contribute it back so others can benefit from your solution as you have benefited from the use of the module to begin with.
Michelle
Comment #6
catchYep, I won't be helping cota if I see them asking questions elsewhere either, unless this issue turns into a nice yellow 'Patch, needs review' with a proper patch attached.
Comment #7
stella commentedcota: if you wish to contribute a patch back, please see http://drupal.org/patch/create for details on how to do this.
Comment #8
seanrLOL, how to make yourself thoroughly loved by the Drupal community in fifteen words or less. Don't bother asking for help with the Forward module either, unless you come bearing a patch. ;-)
Comment #9
cota commentedI apologize for venting my frustration and offending anyone. I don't really consider myself a programmer by any stretch of the imagination so I would never be so presumptious as to provide a patch. I don't really consider this a patch because it replaces code that must be there for a reason. But here it is:
In the auto_image_handling.js file on line 156, I did this.
I also apologize for not responding sooner because I have been on vacation.
-cota
Comment #10
stella commentedHi cota,
Apology accepted :)
Your change, while it fixes the problem for you, isn't the proper solution as it breaks some of the lightbox2 functionality. Perhaps you could provide more information, such as the type of images (image, acidfree, flickr, etc) that you are displaying in the lightbox. If you are using any tooltip modules, then please also provide the version numbers of these. Are you definitely using the latest lightbox2 dev version?
Cheers,
Stella
Comment #11
stella commentedComment #12
cota commentedStella,
I am using 6.x-1.x-dev (2008-Sep-05). I am only images from the image module (6.x-1.0-alpha3) and do not have any tooltip modules.
I don't know if this relates but I am also using Image FUpload 6.x-3.x-dev (2008-Aug-28) and Image Picker 6.x-1.0.
Also, I had installed Flickr and Gallery2 but have disabled or uninstalled them.
Hope this helps.
-cota
Comment #13
cota commentedStella,
I updated to 6.x-1.x-dev (2008-Sep-06). The problem has returned.
-cota
Comment #14
stella commentedI originally thought you meant that the tooltip for the thumbnail image was incorrect. However I've just fixed an issue where the tooltip for the image displayed in the lightbox contained HTML. This should be now fixed in the next dev release.
The tooltip will be set to the anchor's "title" attribute if set, otherwise it will be set to the image's "alt" attribute, failing that it will default to the full caption (which may contain html).
Cheers,
Stella
Comment #15
stella commentedReleased in Lightbox2 6.x-1.9 and 5.x-2.9.
Cheers,
Stella
Comment #17
cota commentedExcellent! Thank you, Stella.
cota