PDA

View Full Version : White dots appear on some images



kdumas
09-17-2008, 11:49 PM
1) Script Title: Image Thumbnail Viewer II

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm

3) Describe problem: I have used this script several times with no problems. However, one of my web sites shows weird white dots when you hover over some of the images. If you'll take a look at:
http://www.hollyhillfloral.com/gallery.htm

You'll see 4 rows of thumbnails with 6 columns. You'll see some white dots during the blending wipeout effect when you hover over:

Row 1, Thumbnail 6
Row 3, Thumbnail 3
Row 3, Thumbnail 6
Row 4, Thumbnail 2
Row 4, Thumbnail 6

How can I fix this?

Nile
09-18-2008, 01:32 AM
What browser are you using? It may be the browser, it also may be a problem with your CSS, if your using a list or something:

<ul>
<li>This is the first.</li>
<li>This is the second.</li>
</ul>
That bullet point color changes


<style type="text/css">
ul li{
color: blue;
}
</style>
<ul>
<li>This is the first.</li>
<li>This is the second.</li>
</ul>
So heres how to fix it(if your using lists):


<style type="text/css">
ul li{
color: blue;
list-style-type: none;
}
</style>
<ul>
<li>This is the first.</li>
<li>This is the second.</li>
</ul>

jscheuer1
09-18-2008, 04:14 AM
That's actually a bug in the IE style filters that change an image's opacity. They make totally black pixels appear temporarily transparent. You need to adjust the black level in the image. First save a backup copy in case something goes wrong. Then in an editor like Photoshop, Paint Shop, or The Gimp, load up the image and select:

Colors > Adjust > Levels

You will have a dialogue box with sliders. Choose the RGB channel and adjust the output slider up a little. This will make the image slightly lighter, and may take a bit of trial and error to get it right, but you wont have to lighten it by much, +11 is about the most that should ever be required. What this does is replace totally black pixels with ones that are nearly totally black, and will eliminate these IE bug artifacts.

More on this problem:

http://www.alexjudd.com/?p=5