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

Notification

Icon
Error

Options
Go to last post Go to first unread
sasikala  
#1 Posted : Wednesday, March 17, 2010 2:27:19 AM(UTC)
sasikala

Rank: Newbie

Groups: Member
Joined: 1/28/2010(UTC)
Posts: 7

Hi All,

I am using Aurigma Image uploader in my site. Any idea about how to add Watermarks for all thumbnails using Php class
Dmitry  
#2 Posted : Wednesday, March 17, 2010 2:45:33 AM(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,

You can find detailed information about adding watermarks to uploaded images in the Adding Watermarks topic.
Sincerely yours,
Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!
sasikala  
#3 Posted : Wednesday, March 17, 2010 5:13:07 AM(UTC)
sasikala

Rank: Newbie

Groups: Member
Joined: 1/28/2010(UTC)
Posts: 7

Yes i got it, can i have the Watermark in the original image also?
Dmitry  
#4 Posted : Wednesday, March 17, 2010 6:02:01 AM(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,

You can perform it using the following technique. You add thumbnail, specify its fit mode as ActualSize and setup adding watermark. In this case the thumbnails will not be downsized and will have watermark.
Sincerely yours,
Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!
sasikala  
#5 Posted : Wednesday, March 17, 2010 3:43:42 PM(UTC)
sasikala

Rank: Newbie

Groups: Member
Joined: 1/28/2010(UTC)
Posts: 7

No, I want to add Watermark for both Actual Image and thumbnail image. Any idea for adding in both?
Tamila  
#6 Posted : Thursday, March 18, 2010 2:19:48 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,

You can do it in following way:
Code:
iu.addParam("UploadSourceFile", "false");
iu.addParam("UploadThumbnail1FitMode","ActualSize");
iu.addParam("UploadThumbnail1Watermark", "your_watermark");

iu.addParam("UploadThumbnail2FitMode","Fit");
iu.addParam("UploadThumbnail2Width",  "500");
iu.addParam("UploadThumbnail2Height", "500");
iu.addParam("UploadThumbnail2Watermark", "your_watermark");

If you have any questions feel free to let us know.
Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!
sasikala  
#7 Posted : Thursday, March 18, 2010 2:54:37 PM(UTC)
sasikala

Rank: Newbie

Groups: Member
Joined: 1/28/2010(UTC)
Posts: 7

Hello,

Thanks for your Help. The images are not getting uploaded and below is the code I have used. Please let me know if anything wrong in that

$imageUploader = new ImageUploader("ImageUploader1", 880, 700);
$imageUploader->setAction("upload.php?id=$gallery_id");
$imageUploader->setRedirectUrl("image-organize.php?id=$Galleryid_dec");
$imageUploader->setLicenseKey("72060-4F18C-00000-0A986-A9C46");
$imageUploader->setButtonFont("verdana");
$imageUploader->setbackgroundColor("white");
$imageUploader->setActiveXControlEnabled(false);
$imageUploader->setMinImageWidth(650);
$imageUploader->setMinImageWidth(500);
$imageUploader->setpaneBackgroundColor("white");
$imageUploader->setJavaAppletEnabled(true);
$imageUploader->setUploadThumbnail1FitMode("ActualSize");
$imageUploader->setUploadThumbnail1Watermark("Text=The Contact List;Opacity=75;FillColor=#B9B9B9;Position=center;Style=Italic;Size=18");
$imageUploader->setUploadThumbnail2FitMode("Fit");
$imageUploader->setUploadThumbnail2Width(150);
$imageUploader->setUploadThumbnail2Height(197);
$imageUploader->setButtonSelectAllText("CHECKALL");
$imageUploader->setButtonDeSelectAllText("UNCHECKALL");
$imageUploader->setButtonSendText("SUBMIT");
$imageUploader->setTreePaneBackgroundColor("white");
$imageUploader->setFolderPaneBorderStyle("Fixed3D");
$imageUploader->setUploadThumbnail2Watermark("Text=The Contact List;Opacity=75;FillColor=#B9B9B9;Position=center;Style=Italic;Size=18");
Tamila  
#8 Posted : Thursday, March 18, 2010 4:43:37 PM(UTC)
Tamila

Rank: Advanced Member

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

Was thanked: 1 time(s) in 1 post(s)
The code above seems correct.
Please make sure that your server-side code is configured correctly to receive two thumbnails.
Aurigma Support Team

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