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):
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 9/19/2006(UTC) Posts: 505
Was thanked: 41 time(s) in 41 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 The Aurigma Development Team
|
|
|
|
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
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 9/19/2006(UTC) Posts: 505
Was thanked: 41 time(s) in 41 post(s)
|
|
Best regards, Eugene Kosmin The Aurigma Development Team
|
|
|
|
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.