Rank: Member
Groups: Member
Joined: 10/2/2007(UTC) Posts: 2
|
Having a hard time with Watermark - Below is snippet of code, what I have found is that when uploading a Large source file the watermark is very small, when uploading a small source file the watermark is very big... Is there a way to set watermark size based on dimensions of Thumbnail or as a % of total image size? Code:iu.addParam("UploadSourceFile", "false");
iu.addParam("UploadThumbnail1FitMode","Fit");
iu.addParam("UploadThumbnail1Width","650");
iu.addParam("UploadThumbnail1Height","500");
iu.addParam("UploadThumbnail1Watermark", "ImageUrl=http://www.lovinlounge.com/ImageUploader/LLWatermark.png;ImageWidth=180;ImageHeight=150;" + "Position=BottomRight;Opacity=30");
iu.addParam("UploadThumbnail1JpegQuality","100");
Edited by user Sunday, February 24, 2008 6:02:23 PM(UTC)
| Reason: Not specified |
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 8/3/2003(UTC) Posts: 998
|
Hello,
At present time only one size of watermark image is supported. |
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration Joined: 8/2/2003(UTC) Posts: 876
Thanks: 2 times Was thanked: 27 time(s) in 27 post(s)
|
Perhaps there is a small misunderstanding. Watermark is actually applied on resized image. So it will always have one size regardless to the dimensions of the original image. I just tried to reproduce the problem and could not. Here is an example of my output:  Original size of dog.jpg is 3008x1960, original size of default.jpg is 512x341. The logo size is the same. If you have other results, could you send your output and original images. Also, it would be helpful if you tell which exact version of Image Uploader the problem occurs (ActiveX/Java/both, version number).
|
|
|
|
Rank: Member
Groups: Member
Joined: 10/2/2007(UTC) Posts: 2
|
I am unable to test because our 30day trial has expired on the testing server.. Can you please re-enable another 30 days on Test server so that I can make tests..
Thank you
|
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 8/3/2003(UTC) Posts: 998
|
|
|
|
|
|
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.