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



Go to last post Go to first unread
#1 Posted : Thursday, March 5, 2009 9:08:43 PM(UTC)

Rank: Member

Groups: Member
Joined: 1/24/2008(UTC)
Posts: 10

i am having a problem with image uploader.I am making three thumbnail of size 50*50,100*100 and 150*150.
While uploading an image of size 137*76(original value).
I am getting thumbnail size of image as follows:

thumbnail of 50 * 50 as 50*28
thumbnail of 100*100 as 100 * 55
thumbnail of 150*150 as 137 * 76.

Another image i uploaded that was of size 50*25.And got back all thumbnail of an image with size 50 * 25.
Can't i get the size of an image as of thumbnail irrespective of what the size of the image be?and if not would somebody guide me how to get such kind of image size. or any changes ini the uploader that would help me to get desired result.
code(if required):
iu.addParam("UploadThumbnail3FitMode", "Fit");
iu.addParam("UploadThumbnail3Width", "150");
iu.addParam("UploadThumbnail3Height", "150");
iu.addParam("UploadThumbnail3JpegQuality", "60");
iu.addParam("UploadThumbnail3CopyExif", "true");

iu.addParam("UploadThumbnail2FitMode", "Fit");
iu.addParam("UploadThumbnail2Width", "100");
iu.addParam("UploadThumbnail2Height", "100");
iu.addParam("UploadThumbnail2JpegQuality", "60");

//Configure thumbnail settings.
iu.addParam("UploadThumbnail1FitMode", "Fit");
iu.addParam("UploadThumbnail1Width", "50");
iu.addParam("UploadThumbnail1Height", "50");
iu.addParam("UploadThumbnail1JpegQuality", "60");
Please help to resolve the problem.Thank u.
#2 Posted : Monday, March 9, 2009 2:23:06 PM(UTC)

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)

Image Uploader cannot resize images up. Therefore, if you specify thumbnail dimensions greater than dimensions of the original file, the thumbnail will be actually created with dimensions of the original file. Moreover the proportions of the original image will be kept.

So if you want to create a thumbnail greater than original image, this functionality is not supported. Please, read Resizing and Rotating Images for additional information.
Sincerely yours,
Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!
#3 Posted : Wednesday, March 18, 2009 9:53:45 PM(UTC)

Rank: Member

Groups: Member
Joined: 1/24/2008(UTC)
Posts: 10

Thank you very much.
Users browsing this topic
Similar Topics
Problem with thumbnail auto rotation (Discussions – HTML5/Flash Uploader)
by chart 2/9/2016 8:36:09 AM(UTC)
Problem with thumbnail view in ThreePanes layout (4,7,16,0) (Discussions – ActiveX/Java Uploader)
by Wieger 2/3/2009 6:42:58 PM(UTC)
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.