Advanced search  

News:

cpg1.5.46 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter recently discovered vulnerabilities. It is important that all users who run version cpg1.5.44 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: White edges inside thumbnails  (Read 3385 times)

0 Members and 1 Guest are viewing this topic.

alexburg

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
White edges inside thumbnails
« 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
Logged

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4454
    • Windsurf.me
Re: White edges inside thumbnails
« Reply #1 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
Logged
It is a mistake to think you can solve any major problems just with potatoes.

alexburg

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: White edges inside thumbnails
« Reply #2 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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15369
Re: White edges inside thumbnails
« Reply #3 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?
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1323
  • Fishing relaxes me.
    • Bailey Family Co.
Re: White edges inside thumbnails
« Reply #4 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.
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

alexburg

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: White edges inside thumbnails
« Reply #5 on: January 20, 2013, 04:00:51 am »

Thank you both for the response. I use GD2 method for creating thumbs/intermediate :)
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15369
Re: Re: White edges inside thumbnails
« Reply #6 on: January 20, 2013, 08:38:18 am »

thumbnails settings to 115px x 105px (exact)?
Logged

alexburg

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: White edges inside thumbnails
« Reply #7 on: January 20, 2013, 08:09:11 pm »

Yes, sorry. 115x105 (exact) :)
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15369
Re: White edges inside thumbnails
« Reply #8 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.
Logged

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4454
    • Windsurf.me
Re: White edges inside thumbnails
« Reply #9 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.
Logged
It is a mistake to think you can solve any major problems just with potatoes.
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 21 queries.