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

Notification

Icon
Error

Options
Go to last post Go to first unread
some_coder  
#1 Posted : Wednesday, October 15, 2008 4:49:39 AM(UTC)
some_coder

Rank: Member

Groups: Member
Joined: 3/14/2008(UTC)
Posts: 16

FileIsTooLargeText text doesnt appear even when the Image is more than MaxFileSize.

I am using ImageUploader Version 5.1 it used to appear in 4.5 version.

var iu = new ImageUploaderWriter("ImageUploader", 764, 290);

iu.addParam("PaneLayout", "TwoPanes");
iu.addParam("AllowRotate", "true");
iu.addParam("BackgroundColor", "#ffffff");
iu.addParam("ButtonSendText", ""); //hide send button
iu.addParam("FolderPaneShowDescriptions", "false");
iu.addParam("CheckFilesBySelectAllButton","true");
iu.addParam("MessageUploadCompleteText", "");
iu.addParam("ButtonStopText", "");

//file exts
iu.addParam("FileMask", "*.jpg;*.bmp;*.gif;*.tiff;*.png");

//upload settings
iu.addParam("FilesPerOnePackageCount", "1");
iu.addParam("MaxFileCount", 9553);
iu.addParam("MaxFileSize", 5242880);
iu.addParam("MinImageHeight", "1");
iu.addParam("MinImageWidth", "1");

//upload thumbnail settings
iu.addParam("UploadThumbnail1CopyExif", "true");
iu.addParam("UploadThumbnail1CopyIptc", "true");
iu.addParam("UploadThumbnail1FallbackMode", "SourceFile");
iu.addParam("UploadThumbnail1FitMode", "Width");
iu.addParam("UploadThumbnail1JpegQuality","90");
iu.addParam("UploadThumbnail1Width", "600");
iu.addParam("UploadSourceFile", "false");

//thumbnail
iu.addParam("PreviewThumbnailBorderColor", "#cecfce");

Dmitry  
#2 Posted : Wednesday, October 15, 2008 7:55:12 PM(UTC)
Dmitry

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)
Hello,

Please, enable FolderPaneShowDescriptions setting
Code:

iu.addParam("FolderPaneShowDescriptions", "true");
and you will see red warnings on the bottom of thumbnail.
Sincerely yours,
Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!
some_coder  
#3 Posted : Wednesday, October 22, 2008 10:29:58 AM(UTC)
some_coder

Rank: Member

Groups: Member
Joined: 3/14/2008(UTC)
Posts: 16

But I dont want the edit descriptions option available. I want the users only to see the red warnings and not edit the descriptions. Is there a way I can do that.

Thanks
Dmitry  
#4 Posted : Wednesday, October 22, 2008 2:15:23 PM(UTC)
Dmitry

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)
Hello,

Unfortunately this functionality is by-design, warning messages are disabled when FolderPaneShowDescriptions is set to false.
Sincerely yours,
Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!
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.