This is a discussion on "White pixels appearing in image (IE only)" within the JavaScript Forum section. This forum, and the thread "White pixels appearing in image (IE only) are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
White pixels appearing in image (IE only)
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
White pixels appearing in image (IE only)
The JavaScript image viewer that I am using is causing a strange effect in my images - you can see what I mean by looking at http://www.chloechaos.com/gallery5.html. If you click on the first thumbnail, you will see two white pixels (one in the the top left corner at about (80,80) and one on the edge of the jacket sleeve). The second image loads without a problem and if you click on the third thumbnail the same things happen - two strange white pixels appear in the bottom left corner, near the foot.
I've only tested in IE6, IE7 and Firefox and the problem only occurs in Internet Explorer. firefox displays all images correctly. Is this only happening to me or can anyone else see this effect? Does anyone know why this is happening? Time to change to Lightbox? Thanks, Jenny |
|
|
|
|||
|
Re: White pixels appearing in image (IE only)
Hi Jenny.
Did you fix the problem? I'm not seeing it in either Firefox or IE. |
|
|||
|
Re: White pixels appearing in image (IE only)
That is weird. Yes, I still have the problem.
These are two cropped screenshots showing the problem which I have highlighted: The first image: ![]() The third image: ![]() I have added a fourth image, and it also has two white pixels on the left side. Am I really the only one with this problem? I have tested both on my laptop and on the desktop PC. If I don't find a solution I guess I will just have to use a different image viewer and see what happens. Jenny |
|
|||
|
Re: White pixels appearing in image (IE only)
That's very strange. It must be th JS but I don't know why. Often there can be little JS glitches and what not if there is a lot of JS on a page but image galleries tend to be quite lightweight. I'd recommend switching to another image gallery/viewer, of you don't want to then post up the JS code and I'll take a look and see if I can spot what might be causing this.
Pete. |
|
|||
|
Re: White pixels appearing in image (IE only)
Thanks Pete.
I have no problem using a different image viewer, but I am the kind of person who likes to find out exactly wjy something is happening, so I'll post the code for you to have a look at (included in the <head> section of the page):
Thanks for checking, but as I said, if you can't find anything and I have to use a different viewer it isn't ra problem. Cheers, Jenny |
|
|||
|
Re: White pixels appearing in image (IE only)
I'll have a good look in a minute but where did you get this code from. Did someone write it for you or is it from a site somewhere?
Pete. |
|
|||
|
Re: White pixels appearing in image (IE only)
No, the script is from dynamicdrive.com - and I've actually just found the solution on http://www.alexjudd.com/?p=5 - the problem is that under certain cirumstances (such as when this script is executed) IE treats true black pixels as transparent. I have slightly adjusted the levels in Photoshop by moving the true black slider slightly to the right (changing the pixels from #000000 to #010101 or something similar) and tested locally - voilą, the problem has disappeared. Now I will have to edit all the images and upload them again.
Glad to have found a solution but it's still weird that no-one else has noticed the effect... Thanks anyway for the help, Jenny |
|
|||
|
Re: White pixels appearing in image (IE only)
Well I didn't help you in the end but am glad you found a solution. Its a very strange bug though. That ie for you i guess.
Pete. |
![]() |
| Tags |
| gallery, ie6, ie7, image, internet explorer, javascript, thumbnail, viewer |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| mystery non-appearing image | jessixcate | Graphics and 3D | 1 | Apr 14th, 2007 02:48 |
| rollover effect. origional image not appearing | WeirdClayJisKOOL | Web Page Design | 4 | Mar 3rd, 2007 13:59 |
| Removing the White Box around an image in Dreamweaver... | kidflavor | Graphics and 3D | 3 | Feb 6th, 2007 22:38 |
| em vs pixels | daygon | Web Page Design | 3 | Nov 17th, 2006 07:43 |
| Resizing (in pixels) | danburzo | Graphics and 3D | 2 | Jun 19th, 2005 11:06 |