forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: alexburg on January 13, 2013, 03:56:24 pm

Title: White edges inside thumbnails
Post by: alexburg on January 13, 2013, 03:56:24 pm
I've recently come to notice that there are often white edges around the inside of a thumbnail in my gallery, particuarly photos with a pale blue background. It's quite unsightly and I was wondering if there was anyway known to fix this or whether there is an issue with the coding of the thumbnail images in my css. Many thanks in advance!

Here's an example of the edges: http://i.imgur.com/j0NWh.png
Title: Re: White edges inside thumbnails
Post by: phill104 on January 13, 2013, 06:02:10 pm
Please post a link to your site. Also, please always attach images rather than hotlink them. The reasons why are explained in the board rules - http://forum.coppermine-gallery.net/index.php/topic,55415.0.html
Title: Re: White edges inside thumbnails
Post by: alexburg on January 13, 2013, 06:06:52 pm
I am so sorry for that Phil, I had tried to edit the post but cannot seem to do so right now.

The website link is http://teresapalmerweb.net/gallery - I was thinking it might have had something to do with thumbnail dimensions but I have seen it before with other sizes. Far less noticeable on images with a darker background.
Title: Re: White edges inside thumbnails
Post by: Αndré on January 17, 2013, 02:31:53 pm
As far as I can see you set your thumbnails settings to 115px x 105px (exact)? Do you use GD2 or ImageMagick to create thumbnails and intermediate-sized pictures?
Title: Re: White edges inside thumbnails
Post by: Jeff Bailey on January 17, 2013, 11:25:41 pm
It looks like it occurs on all thumbnails if you look close enough. Maybe there is some sort of featuring or similar command in Additional command line options for ImageMagick? Ofcourse that doesn't apply if you use GD.
Title: Re: White edges inside thumbnails
Post by: alexburg on January 20, 2013, 04:00:51 am
Thank you both for the response. I use GD2 method for creating thumbs/intermediate :)
Title: Re: Re: White edges inside thumbnails
Post by: Αndré on January 20, 2013, 08:38:18 am
thumbnails settings to 115px x 105px (exact)?
Title: Re: White edges inside thumbnails
Post by: alexburg on January 20, 2013, 08:09:11 pm
Yes, sorry. 115x105 (exact) :)
Title: Re: White edges inside thumbnails
Post by: Αndré on January 21, 2013, 03:03:11 pm
This seems to be a side-effect of the thumb sharpening feature. It doesn't occur if I enable it. Not sure if/how that can be fixed - haven't looked at the code yet.
Title: Re: White edges inside thumbnails
Post by: phill104 on January 21, 2013, 03:32:19 pm
Indeed, if you look very closely you will find certain parts of the original image are still shown in the now white area. I think I remember reading about this phenomenon somewhere but I cannot find the article right now.