coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 modpack by Stramm => Topic started by: nickfzx on April 25, 2007, 02:53:49 PM

Title: are minithumbs sharpened?
Post by: nickfzx on April 25, 2007, 02:53:49 PM
Just wanted to know if mini thumbs are sharpened if thumbnail sharpening is enabled?

Or is it just the normal thumbnails that get sharpened?
Title: Re: are minithumbs sharpened?
Post by: Stramm on April 25, 2007, 06:46:32 PM
yep, mini thumbs get sharpened when thumb sharpening is enabled in config
Title: Re: are minithumbs sharpened?
Post by: nickfzx on April 25, 2007, 06:48:31 PM
thanks
Title: Re: are minithumbs sharpened?
Post by: Stramm on April 25, 2007, 07:00:50 PM
But if you don't need them to be sharpened, then it's just a 1 you have to change into a 0

in picmgmnt.inc.php find
            if (!resize_image($work_image, $mini, $CONFIG['mini_thumb_width'], $CONFIG['thumb_method'], "mini", "false", 1))
and change into
            if (!resize_image($work_image, $mini, $CONFIG['mini_thumb_width'], $CONFIG['thumb_method'], "mini", "false", 0))
Title: Re: are minithumbs sharpened?
Post by: nickfzx on April 25, 2007, 07:18:58 PM
nice to know but I will leave them with the sharpening :)