forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: The Old Man on September 21, 2004, 01:27:10 pm

Title: Strange Image Corruption
Post by: The Old Man on September 21, 2004, 01:27:10 pm
Hi all,
I'm using Coppermine v1.3.2 and until today have not had any problems. However I noticed one of my images that I had uploaded some time ago had become corrupted. I deleted the image and reuploaded it after checking my original on my PC. However the image is still corrupt. I cleared out my browser cache and no effect. I used the rebuild thumbs option in the Admin Utils panel and no luck.

However if I go straight to the image in my browser its fine! See here:
http://www.sarahjaneredmond.com/gallery/albums/userpics/7-2981-63.jpg

If I view the image as part of the slideshow its fine.
Its corrupt in the thumbnail views and when viewed normally from the gallery.

Here's some screenshots of what I mean:
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fsarahjaneredmond.com%2Fimg%2Fcorruptedimage.jpg&hash=d15e963e6e4d247c668cd39c7171e4859093624b)

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fsarahjaneredmond.com%2Fimg%2Fcorruptedimage2.png&hash=f0cd19d0df079df71f1eaa64408ecde467e0d28c)

The images in the gallery can be found here:
http://www.sarahjaneredmond.com/gallery/thumbnails.php?album=19

I'm using Imagemagik and until today have not had this problem.
Title: Re: Strange Image Corruption
Post by: kegobeer on September 21, 2004, 03:25:30 pm
I just visited your site and didn't see any corruption.  Have you tried visiting your site from another computer and/or a different browser?
Title: Re: Strange Image Corruption
Post by: Tranz on September 21, 2004, 04:48:03 pm
Looked fine to me, too. And it helped a lot that you posted a screenshot so we could tell what to look for. Thanks. :)
Title: Re: Strange Image Corruption
Post by: Casper on September 21, 2004, 06:44:48 pm
I remember seeing this some time ago, but cannot remember the cause.  I think it has something to do with your watermark.

 I see the image ok,in firefox, but not in IE.
Title: Re: Strange Image Corruption
Post by: The Old Man on September 21, 2004, 09:59:55 pm
Thanks for the replies! I'm actually viewing from a different PC, this time from work instead of home. At first I thought, my god, the image is fine. Then I opened it up and saw a lot less corruption from here. Here's what I see from the PC in work:
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.sarahjaneredmond.com%2Fimg%2Fcorrupt3.jpg&hash=582e2faa3213234bd8a54847558e29f6caea7226)
There are some white dots on the characters back.

Regarding the watermark, this image along with two others has been downloaded from a different site to my PC, then uploaded to my gallery. The watermark, if it is one (I thought it was just part of the image), was already on. Strange thing is that I've viewed these images before and nver had the problem at all until today.

I'm using IE6 with WinXP SP2 at home, and IE6 on Win98SE in work.
Title: Re: Strange Image Corruption
Post by: Casper on September 21, 2004, 10:31:35 pm
I knew I'd seen it before, and with some searching, not easy, I found it, HERE (http://forum.coppermine-gallery.net/index.php?topic=2623.0).

It's a problem with the theme you are using, but easy enough to cure.
Title: Re: Strange Image Corruption
Post by: Tranz on September 21, 2004, 10:36:46 pm
Yup, when I switched it to classic (http://www.sarahjaneredmond.com/gallery/displayimage.php?album=19&pos=2&theme=classic), the specks disappeared in IE.

The image couldn't have been corrupted if viewing it directly showed no specks, btw.
Title: Re: Strange Image Corruption
Post by: The Old Man on September 23, 2004, 06:09:20 pm
Hi,
Thanks for the replies! Sorry for not responding quicker but I didn't get any 'Reply to Topic' notifications - for some reason they've stopped.
Anyhoo, you are quite right this is a known bug or quirk witht he Microsoft filter. I did a Google search after I couldn;t find info at the MSDN site on issues. I found this: http://forum.pbase.com/viewtopic.php?t=4284). It basically confirms to remove the problem, you must stop using the filter.

I'm currently experimenting and have found that if I set the shadow colour to black, it works fine, although in this case black isn't a very suitable for a shadow colour. So I'm going to experiment and see if I can find a colour that works ok and looks ok - or else I'll abandon the shadow idea.
Title: Re: Strange Image Corruption
Post by: The Old Man on September 23, 2004, 06:20:54 pm
Well after some rather rapid testing I've come to the conclusion that I have to remove the shadow filter. I also tried the dropsahadow filter and the same thing happens. It doesn't matter what colour you select for the shadow, its the same pixels in the image that are effected. I wonder if its something to do with the no of colours in the image or something.

Regardless, thanks for the solution, you fixed the problem and the images now look great again.