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

Notification

Icon
Error

Options
Go to last post Go to first unread
Del  
#1 Posted : Sunday, September 12, 2010 2:20:35 AM(UTC)
Del

Rank: Member

Groups: Member
Joined: 12/9/2009(UTC)
Posts: 10

Hello,

I have a fully working and paid for license of Imageuploader, that is doing the job perfectly.

However recent developments now require us to add a dynamically decided watermark to the bottom left corner of the images, in addition to the existing logo to the bottom right corner of the image.

I have added code working to add each watermark to its corresponding location, but they will not both simultaneously for some reason - It only adds the first watermark!

Is this a limitation on IU, or am i missing something.

Thanks is advance for any help.

Del


Code:

//Configure thumbnail2 settings - Larger Image
	  iu.addParam("UploadThumbnail2FitMode", "Fit");
	  iu.addParam("UploadThumbnail2Width", "700");
	  iu.addParam("UploadThumbnail2Height", "700");
	  iu.addParam("UploadThumbnail2JpegQuality", "75");
	  //Add our Watermark
	  iu.addParam("UploadThumbnail2Watermark",
		  "ImageUrl=../Graphics/NOG-Watermark-7.png;" +
		  "Position=BottomRight;Opacity=100;");
    //Additional Event Watermark
	  iu.addParam("UploadThumbnail2Watermark",
		  "ImageUrl=../Graphics/Logos/Voodoo-Project.png;" +
		  "Position=BottomLeft;Opacity=100;ImageWidth=150;");
	  //If thumb cannot be created for any reason, use the original file
	  iu.addParam("UploadThumbnail2FallbackMode", "SourceFile");


Dmitry.Obukhov  
#2 Posted : Sunday, September 12, 2010 8:19:57 PM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Hello Del,

Thanks for contacting us.

Unfortunately, the multiple watermarks cannot be applied to the thumbnail. You are able to add one watermark only. I advise you to use composite png file which consists of two watermarks.

If you have any additional questions, please feel free to let me know.
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
Del  
#3 Posted : Monday, September 13, 2010 8:06:29 AM(UTC)
Del

Rank: Member

Groups: Member
Joined: 12/9/2009(UTC)
Posts: 10

Hello Dmitry,

Thanks for your reply.

Would it not even be possible to try and re-feed the image back into the ImageUploader to add the second watermark?

Basically the problem we have is that our photographers go out and photo events, and upload the images through our website to make them public.

The images need to have our watermark added to them automatically, but also they sometimes need a watermark adding to them too. This additional watermark is specified at the time of upload and can could potentially be anything.

Is this a feature that ImageUploader could be getting added, or could be acheived in a slightly different way?


I look forward to your reply!


Kindest Regards,

Del
Dmitry.Obukhov  
#4 Posted : Monday, September 13, 2010 6:10:19 PM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Hello Del,

Unfortunately, it is not possible to implement it in the way you describe in your previous post.

I advise you to go the following way. You should know what photographer is logged in and is about to upload photos. If this photographer has its own watermark, prior to displaying a page with Image Uploader you dynamically prepare watermark on your server side from your watermark and watermark of the photographer (by combining them). Then you specify this dynamically created image as watermark in Image Uploader settings. To accomplish this task you will need some server-imaging library, for example, Aurigma Graphics Mill or System.Drawing for ASP.NET, ImageMagick for PHP, etc.
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
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.