Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
gavphillips  
#1 Posted : Tuesday, May 20, 2008 6:51:14 PM(UTC)
gavphillips

Rank: Member

Groups: Member
Joined: 1/1/2008(UTC)
Posts: 23

Thanks: 1 times
Hi,

I have a customer who has uploaded some images using the image uploader and his smaller thumbnail images are being cropped along one edge, they have a black border which isn't coming out. The larger images are fine.
I have tried this myself using Firefox and I have been able to re-create the problem so I wonder if you could take a look please.

This is a sample of code that is used to determine the thumbnail sizes, it's the smaller ones that appear to be the problem, I've also included the input image and a copy of the created thumbnail.

iu.addParam("UploadThumbnail1FitMode", "Fit");
iu.addParam("UploadThumbnail1Width", "125");
iu.addParam("UploadThumbnail1Height", "125");
iu.addParam("UploadThumbnail1JpegQuality", "85");

//Configure main image settings.
iu.addParam("UploadThumbnail2FitMode", "Fit");
iu.addParam("UploadThumbnail2Width", "400");
iu.addParam("UploadThumbnail2Height", "400");
iu.addParam("UploadThumbnail2JpegQuality", "95");

Thanks
Gav
gavphillips attached the following image(s):
IMG_6067.jpg
t_IMG_6067.jpg
Eugene Kosmin  
#2 Posted : Thursday, May 22, 2008 6:48:39 PM(UTC)
Eugene Kosmin

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 9/19/2006(UTC)
Posts: 455

Was thanked: 27 time(s) in 27 post(s)
Hi Gav,

I think the problem is not in cropping. Black border on your picture is rather small and some part of it could be just lost while resizing.

Perhaps, it makes sense to increase thumbnail resize quality, especially if your clients often upload images with such elements.

Code:
iu.addParam("UploadThumbnail1FitMode", "Fit");
iu.addParam("UploadThumbnail1Width", "125");
iu.addParam("UploadThumbnail1Height", "125");
iu.addParam("UploadThumbnail1JpegQuality", "85");
iu.addParam("UploadThumbnail1ResizeQuality", "High");
Best regards,
Eugene Kosmin.
Aurigma Development Team
gavphillips  
#3 Posted : Thursday, May 22, 2008 10:56:54 PM(UTC)
gavphillips

Rank: Member

Groups: Member
Joined: 1/1/2008(UTC)
Posts: 23

Thanks: 1 times
Hi Eugene,

Of course, I should have thought of that! That did the trick sorry to have bothered you.

Many Thanks
Gav
Eugene Kosmin  
#4 Posted : Sunday, May 25, 2008 12:16:50 PM(UTC)
Eugene Kosmin

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 9/19/2006(UTC)
Posts: 455

Was thanked: 27 time(s) in 27 post(s)
Don’t mention it…
Best regards,
Eugene Kosmin.
Aurigma Development Team
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.