YAFLogo

jackiechou
  • jackiechou
  • 66.4% (Friendly)
  • YAF Camper Topic Starter
9 years ago
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

Sponsor