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
|
|
|
|
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. |
|
|
|
|
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?
|
|
|
|
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. |
|
|
|
|
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?
|
|
|
|
Rank: Advanced Member
Groups: 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. |
|
|
|
|
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");
|
|
|
|
Rank: Advanced Member
Groups: 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.
|
|
|
|
|
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.