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

Notification

Icon
Error

Options
Go to last post Go to first unread
iomarvelous  
#1 Posted : Monday, September 14, 2009 4:53:00 AM(UTC)
iomarvelous

Rank: Newbie

Groups: Member
Joined: 9/14/2009(UTC)
Posts: 4

I have the following settings in my Image Uploader config...

iu.addParam("AllowRotate", "true");
iu.addParam("UploadSourceFile", "false");
iu.addParam("UploadThumbnail1FitMode", "ActualSize");

Yet it still seems as if it still shrinks the 4/3 proportioned photos (1600x1200 or 2048x1536) to 360x270....

Why is this? I know their are restrictions on size uploads... but I would think these are fine as they are under 3MP.

I have Image Uploader Dual, and it's on a Ubuntu Intrepid Linux box used in a Rails App...
Tamila  
#2 Posted : Monday, September 14, 2009 3:49:57 PM(UTC)
Tamila

Rank: Advanced Member

Groups: Member
Joined: 3/9/2008(UTC)
Posts: 554

Was thanked: 1 time(s) in 1 post(s)
Hello,

Could you please post here the code snippet where you define all parameters of Image Uploader.
Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!
iomarvelous  
#3 Posted : Thursday, September 17, 2009 3:55:44 AM(UTC)
iomarvelous

Rank: Newbie

Groups: Member
Joined: 9/14/2009(UTC)
Posts: 4

function ImageUploader_BeforeUpload(){

var imageUploader = getImageUploader("ImageUploader1");

//Rename "SourceFile_N" field to "photo"
//imageUploader.RenameField("SourceFile_[ItemIndex]", "Filedata");
//Rename "ThumbnailX_N" field to "FileN-ThumbnailX"
imageUploader.RenameField("Thumbnail[ThumbnailIndex]_[ItemIndex]", "Filedata");
//Rename "SourceFileSize_N" field to "FileN-Size"
//imageUploader.RenameField("SourceFileSize_[ItemIndex]", "File[ItemIndex]-Size");
//Rename "Description_N" field to "FileN-Description"
imageUploader.RenameField("Description_[ItemIndex]", "caption");
}

//Create JavaScript object that will embed Image Uploader to the page.
var iu = new ImageUploaderWriter("ImageUploader1", 710, 500);

//Listeners
iu.addEventListener("BeforeUpload", "ImageUploader_BeforeUpload");

//For ActiveX control full path to CAB file (including file name) should be specified.
iu.activeXControlCodeBase = "/javascripts/ImageUploader6.cab";
iu.activeXControlVersion = "6,0,11,0";

//For Java applet only path to directory with JAR files should be specified (without file name).
iu.javaAppletJarFileName = "ImageUploader6.jar";
iu.javaAppletCodeBase = "/javascripts/";
iu.javaAppletCached = true;
iu.javaAppletVersion = "6.0.11.0";

iu.showNonemptyResponse = "off";

//Configure License Keys
iu.addParam("LicenseKey", "REMOVED");

//Configure appearance and behaviour.
iu.addParam("PaneLayout", "ThreePanes");
//iu.addParam("TreePaneWidth", "205");
iu.addParam("ShowButtons", "False");
iu.addParam("ShowDebugWindow", "true");
iu.addParam("ShowDescriptions", "false");

//Configure colors.
iu.addParam("BackgroundColor", "#ffffff");
iu.addParam("SplitterLineColor", "#0066cc");

//Configure border and splitter line style.
iu.addParam("FolderPaneBorderStyle", "None");
iu.addParam("UploadPaneBorderStyle", "None");
iu.addParam("TreePaneBorderStyle", "None");
iu.addParam("SplitterLineStyle", "Dot"); //NOT SUPPORTED IN JAVA

//Configure thumbnail settings.
iu.addParam("AllowRotate", "true");
iu.addParam("UploadSourceFile", "True");
iu.addParam("UploadThumbnail1FitMode", "ActualSize");

//Configure user quota restriction. In real-life application these values should be
//loaded from server.
iu.addParam("MaxFileCount", "40");
iu.addParam("MessageMaxFileCountExceededText", "You can only upload 40 files at a time.");
iu.addParam("MaxTotalFileSize", "10485760");
iu.addParam("MessageMaxTotalFileSizeExceededText", "You can only upload 10mb at a time.");

//Configure upload settings.
iu.addParam("FilesPerOnePackageCount", "1");
iu.addParam("AutoRecoverMaxTriesCount", "10");
iu.addParam("AutoRecoverTimeOut", "10000");

//Configure URL files are uploaded to.
iu.addParam("Action", "<%= album_photos_path(@album) %>");

//Configure URL where to redirect after upload.
iu.addParam("RedirectUrl", "<%= album_photos_path(@album) %>");

//Add event handlers.
iu.addEventListener("UploadFileCountChange", "ImageUploader1_UploadFileCountChange");
iu.addEventListener("ViewChange", "ImageUploader1_ViewChange");
iu.addEventListener("FullPageLoad", "ImageUploader1_FullPageLoad");

//Create installation progress.
var ip = new InstallationProgressExtender(iu);
ip.setProgressImageUrl("/images/iu/InstallationProgress.gif");
ip.setProgressCssClass("ScreenStyle");
ip.setInstructionsCssClass("ScreenStyle");

//Tell Image Uploader writer object to generate all necessary HTML code to embed
//Image Uploader to the page.
iu.writeHtml();
//]]>


Thanks for your help!
Tamila  
#4 Posted : Thursday, September 17, 2009 8:36:21 PM(UTC)
Tamila

Rank: Advanced Member

Groups: Member
Joined: 3/9/2008(UTC)
Posts: 554

Was thanked: 1 time(s) in 1 post(s)
Hi,

Thanks for the code. I just tried to reproduce your problem with Image Uploader 6.1.1 and everything worked well.
Try to update your current version to the latest version of Image Uploader. You can download it here:
http://aurigma.com/Produ...eUploader/FreeTrial.aspx

Please let us know if you still have this problem.
Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!
iomarvelous  
#5 Posted : Tuesday, September 22, 2009 4:06:25 PM(UTC)
iomarvelous

Rank: Newbie

Groups: Member
Joined: 9/14/2009(UTC)
Posts: 4

Ok, I think I figured it out... Not sure if this is a known issue....

Basically this morning when playing around with this (and facebook) it hit me... I had noticed that lately my Facebook uploads had been shrunk also when I upload them... I wasnt sure why... I checked today, and sure enough, my facebook pictures had been shrunk to 360x270 as well... As you know Facebook uses your image uploader tool.

Last night I added minimum file size restrictions (360x360 min), just to test that out. And even though I was in a folder full of 3MP photos, when I would drag the photos (in the Three Pane layout) to the upload section, I would get the "File Size" restriction alert.... weird....

So I decided to test it on another computer just now, I was using my Mac OS X 10.5 and Firefox 3.5 originally to test... Now uploading on my Windows XP on Firefox 3.5 not only loads/looks a lot better (the Aurigma tool) but it also WORKS! The same pictures upload with no problems at all!

So it looks like you might want to test your products on OS X/Firefox...

Does this sound familiar or is this a known issue?
Tamila  
#6 Posted : Wednesday, September 23, 2009 4:53:51 AM(UTC)
Tamila

Rank: Advanced Member

Groups: Member
Joined: 3/9/2008(UTC)
Posts: 554

Was thanked: 1 time(s) in 1 post(s)
Hi,

Unfortunately, I cannot reproduce your problem locally. Let us try to debug this problem at your end.
In attachment you can find ExtractFiles.php script.
How to use it:
  1. Put this file in folder where upload.php is located
  2. Correct your code as follows:
    Code:
    iu.addParam("Action", "ExtractFiles.php");
  3. Here create Dumps folder and set appropriate permissions.
  4. Try to upload files using Image Uploader
  5. In Dumps folder you can find .txt file. Please send me it.
File Attachment(s):
ExtractFiles.php.zip (2kb) downloaded 0 time(s).
Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!
iomarvelous  
#7 Posted : Wednesday, September 23, 2009 11:03:02 AM(UTC)
iomarvelous

Rank: Newbie

Groups: Member
Joined: 9/14/2009(UTC)
Posts: 4

I'll give that a shot... but not sure it will work as I am using using Ruby and not PHP... But i'll see if I can get some of the samples you guys include working, and will see if that works out...
Tamila  
#8 Posted : Wednesday, September 23, 2009 9:36:32 PM(UTC)
Tamila

Rank: Advanced Member

Groups: Member
Joined: 3/9/2008(UTC)
Posts: 554

Was thanked: 1 time(s) in 1 post(s)
Unfortunately, we have not ExtractFiles for Ruby.

Anyway, I have one idea. try to clear your browser cache and Java cache. Probably it helps.
Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!
Users browsing this topic
Guest
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.