Here's a fix to get rid of the tooltip "The image %S cannot be displayed, because it contains errors." message when viewing an image in its own window. Note this seems to be a Mozilla problem but doesn't appear there since Mozilla doesn't display title tooltips.
Open \Program Files\K-Meleon\chrome\embed.jar and extract the file ImageDocument.properties (embed.jar is a zip file)
Edit the extracted ImageDocument.properties file, the last line has an InvalidImage string, change
InvalidImage=The image \u201c%S\u201d cannot be displayed, because it contains errors.
to
InvalidImage=%S
Put the updated file back into embed.jar, be sure to put it back with full pathnames or it won't work.
This effectively fixes the problem, now the tooltip will be the image filename.
Re: Fix for image cannot be displayed tooltip message
Posted by:
asmpgmr
Date: February 14, 2003 04:20AM
Andrew,
A Mozilla bug should be filed for this since I'm basically ignoring the function of InvalidImage since I've never seen a real invalid image that would merit that message being displayed. I'm guessing that if there's a way to make Mozilla display title tooltips then the same problem will occur.
On a related note, I also updated about.xhtml in embed.jar to say K-Meleon 0.7.1. Ultimately it might be better if Javascript was used to extract the version from the useragent string instead of having it hardcoded as is done with the Mozilla version.