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

Notification

Icon
Error

Options
Go to last post Go to first unread
cmccarrick  
#1 Posted : Wednesday, November 03, 2004 8:43:00 AM(UTC)
cmccarrick

Rank: Member

Groups: Member
Joined: 11/3/2004(UTC)
Posts: 5

I am currently trying to resize an image using thumbnail 1 and 2. I have thumbnail 1 set to Fit=1 and I set the height and width to be 125 x 66. I set thumbnail 2 to be fit = 2 and I set the width to be 300. The original two test images are the following dimensions along with the rendered thumbnail sizes: Image 1 Orig: 822 x 887; thumbnail_1: 61 x 66; thumbnail_2: 119 x 128 Image 2 Orig: 640 x 480; thumbnail_1: 88 x 66; thumbnail_2: 160 x 120 I think that the fist thumbnails should = the set sizes and the second thumbnails should set the width to 300 and resize correctly. Why is it giving me these strange thumbnail sizes?
Fedor  
#2 Posted : Wednesday, November 03, 2004 9:09:00 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,545

Thanks: 5 times
Was thanked: 58 time(s) in 57 post(s)
Could you post here your HTML code?
Best regards,
Fedor Skvortsov
cmccarrick  
#3 Posted : Thursday, November 04, 2004 1:53:00 AM(UTC)
cmccarrick

Rank: Member

Groups: Member
Joined: 11/3/2004(UTC)
Posts: 5

Code:


					<!--We recommend to use version info in codebase attribute. 
					It should be looking something like this: 
					
						CodeBase="../ImageUploader3.cab#version=3,0,463,0"	
						
					This code sample does not have version information to be actual to 
					all the versions of Image Uploader  
					-->
					<OBJECT id="ImageUploader" codeBase="CABS/ImageUploader3.cab" type="application/x-oleobject"
						height="500" width="660" classid="clsid:A18962F6-E6ED-40B1-97C9-1FB36F38BFA8" name="ImageUploader"
						VIEWASTEXT>
						<PARAM NAME="_cx" VALUE="17463">
						<PARAM NAME="_cy" VALUE="13229">
						<PARAM NAME="BackgroundColor" VALUE="#c3daf9">
						<PARAM NAME="PaneBackgroundColor" VALUE="White">
						<PARAM NAME="PreviewThumbnailActiveColor" VALUE="Red">
						<PARAM NAME="PreviewThumbnailInactiveColor" VALUE="#eeeeee">
						<PARAM NAME="QualityMeterBackgroundColor" VALUE="White">
						<PARAM NAME="QualityMeterBorderColor" VALUE="#154575">
						<PARAM NAME="QualityMeterHighQualityColor" VALUE="#5bc529">
						<PARAM NAME="QualityMeterAcceptableQualityColor" VALUE="#ffc600">
						<PARAM NAME="QualityMeterLowQualityColor" VALUE="#ececec">
						<PARAM NAME="PreviewThumbnailSize" VALUE="96">
						<PARAM NAME="Layout" VALUE="1">
						<PARAM NAME="FolderView" VALUE="0">
						<PARAM NAME="UploadView" VALUE="0">
						<PARAM NAME="TreePaneWidth" VALUE="190">
						<PARAM NAME="FolderPaneHeight" VALUE="300">
						<PARAM NAME="Padding" VALUE="5">
						<PARAM NAME="ButtonFontName" VALUE="">
						<PARAM NAME="ButtonFontSize" VALUE="0">
						<PARAM NAME="EnableRotate" VALUE="0">
						<PARAM NAME="ShowButtons" VALUE="-1">
						<PARAM NAME="ShowUploadListButtons" VALUE="0">
						<PARAM NAME="ShowContextMenu" VALUE="-1">
						<PARAM NAME="ShowDebugWindow" VALUE="-1">
						<PARAM NAME="ShowDeleteButton" VALUE="0">
						<PARAM NAME="ShowDescriptions" VALUE="-1">
						<PARAM NAME="DescriptionsReadOnly" VALUE="0">
						<PARAM NAME="ShowFileNames" VALUE="-1">
						<PARAM NAME="ShowStatusPane" VALUE="1">
						<PARAM NAME="ShowUploadCompleteMessage" VALUE="1">
						<PARAM NAME="SilentMode" VALUE="0">
						<PARAM NAME="CheckFilesBySelectAllButton" VALUE="1">
						<PARAM NAME="AllowMultipleSelection" VALUE="-1">
						<PARAM NAME="EnableFileViewer" VALUE="-1">
						<PARAM NAME="AutoRecoverTimeOut" VALUE="5000">
						<PARAM NAME="AutoRecoverMaxTriesCount" VALUE="1">
						<PARAM NAME="ProgressDialogWidth" VALUE="350">
						<PARAM NAME="FilesPerOnePackageCount" VALUE="-1">
						<PARAM NAME="CodePage" VALUE="65001">
						<PARAM NAME="Action" VALUE=".">
						<PARAM NAME="LicenseKey" VALUE="1222-3347-4232-0160">
						<PARAM NAME="RedirectUrl" VALUE="">
						<PARAM NAME="Version" VALUE="3, 0, 734, 0">
						<PARAM NAME="FileMask" VALUE="*.*">
						<PARAM NAME="MaxFileCount" VALUE="0">
						<PARAM NAME="MaxFileSize" VALUE="0">
						<PARAM NAME="MaxImageWidth" VALUE="0">
						<PARAM NAME="MaxImageHeight" VALUE="0">
						<PARAM NAME="MinImageWidth" VALUE="0">
						<PARAM NAME="MinImageHeight" VALUE="0">
						<PARAM NAME="MaxTotalFileSize" VALUE="0">
						<PARAM NAME="SignatureFilter" VALUE="2">
						<PARAM NAME="UploadFileCount" VALUE="0">
						<PARAM NAME="TotalFileSize" VALUE="0">
						
						<PARAM NAME="TimeOut" VALUE="0">
						<PARAM NAME="AdditionalFormName" VALUE="">
						<PARAM NAME="AdditionalFolderNavigator" VALUE="ImageUploader">
						<PARAM NAME="UncheckUploadedFiles" VALUE="-1">
						<PARAM NAME="UploadSourceFile" VALUE="1">
						<PARAM NAME="UploadThumbnail1FitMode" VALUE="1">
						<PARAM NAME="UploadThumbnail2FitMode" VALUE="2">
						<PARAM NAME="UploadThumbnail3FitMode" VALUE="0">
						<PARAM NAME="UploadThumbnail1Width" VALUE="125">
						<PARAM NAME="UploadThumbnail2Width" VALUE="300">
						<PARAM NAME="UploadThumbnail3Width" VALUE="640">
						<PARAM NAME="UploadThumbnail1Height" VALUE="66">
						<PARAM NAME="UploadThumbnail2Height" VALUE="480">
						<PARAM NAME="UploadThumbnail3Height" VALUE="480">
						<PARAM NAME="UploadThumbnail1JpegQuality" VALUE="60">
						<PARAM NAME="UploadThumbnail2JpegQuality" VALUE="70">
						<PARAM NAME="UploadThumbnail3JpegQuality" VALUE="70">
						<PARAM NAME="RememberLastVisitedFolder" VALUE="1">
						<PARAM NAME="ShowSubfolders" VALUE="0">
						<PARAM NAME="ButtonDeleteFilesText" VALUE="Delete Files">
						<PARAM NAME="ButtonDeselectAllText" VALUE="Deselect All">
						<PARAM NAME="ButtonSelectAllText" VALUE="Select All">
						<PARAM NAME="ButtonSendText" VALUE="Send">
						<PARAM NAME="ButtonStopText" VALUE="Stop">
						<PARAM NAME="ButtonAddFilesText" VALUE="Add Files...">
						<PARAM NAME="ButtonAddFoldersText" VALUE="Add Folders...">
						<PARAM NAME="ButtonAddToUploadListText" VALUE="Add">
						<PARAM NAME="ButtonAddAllToUploadListText" VALUE="Add All">
						<PARAM NAME="ButtonRemoveFromUploadListText" VALUE="Remove">
						<PARAM NAME="ButtonRemoveAllFromUploadListText" VALUE="Remove All">
						<PARAM NAME="ProgressDialogSentText" VALUE="Sent: [Current] of [Total]">
						<PARAM NAME="ProgressDialogCancelButtonText" VALUE="Cancel">
						<PARAM NAME="ProgressDialogCloseButtonText" VALUE="Close">
						<PARAM NAME="ProgressDialogCloseWhenUploadCompletesText" VALUE="Close this dialog box when upload completes">
						<PARAM NAME="ProgressDialogEstimatedTimeText" VALUE="Estimated time: [Current] of [Total]">
						<PARAM NAME="ProgressDialogPreparingDataText" VALUE="Preparing data...">
						<PARAM NAME="ProgressDialogTitleText" VALUE="Upload Files">
						<PARAM NAME="ProgressDialogWaitingForResponseFromServerText" VALUE="Waiting for response from server...">
						<PARAM NAME="ProgressDialogWaitingForRetryText" VALUE="Waiting for retry...">
						<PARAM NAME="MessageBoxTitleText" VALUE="Image Uploader">
						<PARAM NAME="MessageCannotConnectToInternetText" VALUE="The attempt to connect to the Internet has failed.">
						<PARAM NAME="MessageMaxFileCountExceededText" VALUE="The file [Name] cannot be selected. Amount of files exceeds the limit ([Limit] files).">
						<PARAM NAME="MessageMaxFileSizeExceededText" VALUE="The file [Name] cannot be selected. This file size exceeds the limit ([Limit] kb).">
						<PARAM NAME="MessageDimensionsAreTooLargeText" VALUE="The image [Name] cannot be selected. This image dimensions ([OriginalImageWidth]x[OriginalImageHeight]) are too large. The image should be smaller than [MaxImageWidth]x[MaxImageHeight].">
						<PARAM NAME="MessageDimensionsAreTooSmallText" VALUE="The image [Name] cannot be selected. This image dimensions ([OriginalImageWidth]x[OriginalImageHeight]) are too small. The image should be larger than [MinImageWidth]x[MinImageHeight].">
						<PARAM NAME="MessageMaxTotalFileSizeExceededText" VALUE="The file [Name] cannot be selected. Total upload data size exceeds the limit ([Limit] kb).">
						<PARAM NAME="MessageNoFilesToSendText" VALUE="No files to send.">
						<PARAM NAME="MessageNoInternetSessionWasEstablishedText" VALUE="No Internet session was established.">
						<PARAM NAME="MessageNoResponseFromServerText" VALUE="No response from server.">
						<PARAM NAME="MessageServerNotFoundText" VALUE="The server or proxy [Name] not found.">
						<PARAM NAME="MessageUploadCancelledText" VALUE="Upload is cancelled.">
						<PARAM NAME="MessageUploadCompleteText" VALUE="Upload complete.">
						<PARAM NAME="MessageUploadFailedText" VALUE="Upload failed (the connection was interrupted).">
						<PARAM NAME="MessageUnexpectedErrorText" VALUE="Image Uploader encountered some problem. If you see this message, contact web master.">
						<PARAM NAME="MessageSwitchAnotherFolderWarningText" VALUE="You are about to switch to another folder. This will discard selection from selected files.&#10;&#10;To proceed and lose selection click OK.&#10;To keep the selection and stay in the current folder, click Cancel.">
						<PARAM NAME="DropFilesHereText" VALUE="Drop File(s) Here">
						<PARAM NAME="FileIsTooLargeText" VALUE="File is too large">
						<PARAM NAME="DimensionsAreTooLargeText" VALUE="Image is too large">
						<PARAM NAME="DimensionsAreTooSmallText" VALUE="Image is too small">
						<PARAM NAME="HoursText" VALUE="hours">
						<PARAM NAME="KilobytesText" VALUE="kilobytes">
						<PARAM NAME="MegabytesText" VALUE="megabytes">
						<PARAM NAME="MinutesText" VALUE="minutes">
						<PARAM NAME="SecondsText" VALUE="seconds">
						<PARAM NAME="IncludeSubfoldersText" VALUE="Include Subfolders">
						<PARAM NAME="MenuAddAllToUploadListText" VALUE="Add All to Upload List">
						<PARAM NAME="MenuAddToUploadListText" VALUE="Add to Upload List">
						<PARAM NAME="MenuDeselectAllText" VALUE="Deselect All">
						<PARAM NAME="MenuDetailsText" VALUE="Details">
						<PARAM NAME="MenuIconsText" VALUE="Icons">
						<PARAM NAME="MenuInvertSelectionText" VALUE="Invert Selection">
						<PARAM NAME="MenuListText" VALUE="List">
						<PARAM NAME="MenuRefreshText" VALUE="Refresh">
						<PARAM NAME="MenuRemoveAllFromUploadListText" VALUE="Remove All from Upload List">
						<PARAM NAME="MenuRemoveFromUploadListText" VALUE="Remove from Upload List">
						<PARAM NAME="MenuSelectAllText" VALUE="Select All">
						<PARAM NAME="MenuThumbnailsText" VALUE="Thumbnails">
						<PARAM NAME="ListColumnFileNameText" VALUE="Name">
						<PARAM NAME="ListColumnFileSizeText" VALUE="Size">
						<PARAM NAME="ListColumnFileTypeText" VALUE="Type">
						<PARAM NAME="ListColumnLastModifiedText" VALUE="Modified">
						<PARAM NAME="StatusSelectedFilesText" VALUE="Selected: [Current] of [Total]">
						<PARAM NAME="EditDescriptionText" VALUE="Edit description...">
						<PARAM NAME="QualityMeterFormats" VALUE="">
						<PARAM NAME="DescriptionEditorButtonOkText" VALUE="OK">
						<PARAM NAME="DescriptionEditorButtonCancelText" VALUE="Cancel">
					</OBJECT>
			

Edited by user Monday, December 24, 2007 4:29:30 PM(UTC)  | Reason: Not specified

Fedor  
#4 Posted : Sunday, November 07, 2004 6:45:00 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,545

Thanks: 5 times
Was thanked: 58 time(s) in 57 post(s)
Here are parameters you have:

Code:
<PARAM NAME="UploadThumbnail1Width" VALUE="125">
<PARAM NAME="UploadThumbnail1Height" VALUE="66">
<PARAM NAME="UploadThumbnail1FitMode" VALUE="1"> 
<!--FitMode.Fit=1-->

<PARAM NAME="UploadThumbnail2Width" VALUE="300">
<PARAM NAME="UploadThumbnail2Height" VALUE="480">
<PARAM NAME="UploadThumbnail2FitMode" VALUE="2"> 
<!--FitMode.Width=2-->


The original two test images are the following dimensions along with the rendered thumbnail sizes:
Image 1 Orig: 822 x 887; thumbnail_1: 61 x 66; thumbnail_2: 119 x 128
Image 2 Orig: 640 x 480; thumbnail_1: 88 x 66; thumbnail_2: 160 x 120

I think that the fist thumbnails should = the set sizes

FitMode = Fit means that result thumbnail width and height should be not larger then specified UploadThumbnail1Width and UploadThumbnail1Height values. As you have UploadThumbnail1Height=66, so both first thumbnails are resized with saving aspect ratio to height=66.

and the second thumbnails should set the width to 300 and resize correctly.

You receive incorrect sizes definelty. When I run your sample I received correct image sizes (with width=300), so way in order to help me simulate the problem, please submit case with server page, which you use to handle upload.

Edited by user Friday, May 23, 2008 3:47:50 PM(UTC)  | Reason: Not specified

Best regards,
Fedor Skvortsov
cmccarrick  
#5 Posted : Monday, November 08, 2004 3:02:00 AM(UTC)
cmccarrick

Rank: Member

Groups: Member
Joined: 11/3/2004(UTC)
Posts: 5

So there is no way without custom processing to force the image with fit=1 to be the exact dimensions that are specified?

C.
Fedor  
#6 Posted : Monday, November 08, 2004 4:50:00 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,545

Thanks: 5 times
Was thanked: 58 time(s) in 57 post(s)
So there is no way without custom processing to force the image with fit=1 to be the exact dimensions that are specified?

There is no way to do it in current version. Image is always resized with saving aspect ratio. It is possible we will add the feature you need in future version. If you need it urgenlty please contact with us at sales@aurigma.com.
Best regards,
Fedor Skvortsov
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.