Welcome Guest! To enable all features please Login or Register.
Options
View
Go to last post Go to first unread
Offline jackiechou  
#1 Posted : Saturday, August 22, 2015 2:51:19 AM(UTC)
jackiechou


Rank: YAF Camper

Reputation:

Joined: 11/8/2013(UTC)
Posts: 27
Man
Viet Nam

Thanks: 4 times
Hi,
Please help me how to set up watermark on image uploaded by ckfinder.

I can upload image with ckfinder and set up watermark but fails. I have set up as follows :

1. Copy file CKFinder_Watermark.dll to bin folder
2. Set up in ckfinder\config.ascx

public override void SetConfig()
{
Plugins = new string[] {
"CKFinder.Plugins.FileEditor, CKFinder_FileEditor",
"CKFinder.Plugins.ImageResize, CKFinder_ImageResize",
"CKFinder.Plugins.Watermark, CKFinder_Watermark"
};

// Settings for extra plugins.
PluginSettings = new Hashtable();
PluginSettings.Add("ImageResize_smallThumb", "90x90" );
PluginSettings.Add("ImageResize_mediumThumb", "120x120" );
PluginSettings.Add("ImageResize_largeThumb", "180x180" );
// Name of the watermark image in plugins/watermark folder
PluginSettings.Add("Watermark_source", "logo.gif" );
PluginSettings.Add("Watermark_marginRight", "5" );
PluginSettings.Add("Watermark_marginBottom", "5" );
PluginSettings.Add("Watermark_quality", "90" );
PluginSettings.Add("Watermark_transparency", "80" );
}
Thanks for your concern !

Best Regards,
Jackie

Edited by user Sunday, September 6, 2015 9:04:18 AM(UTC)  | Reason: Not specified

Sponsor
Rss Feed  Atom Feed
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.

Notification

Icon
Error