Hello to all
friends
How can I put watermark on attached images
a Friend said by way of editing attachment.php can do it
and gave me the link below
http://www.sitepoint.com/watermark-images-php/
But I do not know how to use this code
can you help me ?
thanks
thanks
I've seen this program
Unfortunately I could not use it
I do not know how to specify raster
I could not edit the attachmen.php file
Do you use it?
Truly Works?
I do not know how to use this plugin
Does not work
What should be regulated?
Who can get help?
I do not know how to use this plugin
Does not work
What should be regulated?
Who can get help?
Who can get help? Who can get help? Who can get help? Who can get help? Who can get help? Who can get help? Who can get help? Who can get help? Who can get help?
You can specify the image in Configuration -> Watermark settings..
But there is a bug, so first you need to open the plugin's .php file and replace:
function watermark_on_settings_changed()
{
global $mybb, $watermark;
if(strcasecmp($mybb->input['upsetting']['watermark_file'], $mybb->settings['watermark_file']) <> 0 && $mybb->request_method == "post")
$watermark->ClearCache();
}
with:
function watermark_on_settings_changed()
{
global $mybb, $watermark;
if(!is_object($watermark))
$watermark = new Watermark();
if(strcasecmp($mybb->input['upsetting']['watermark_file'], $mybb->settings['watermark_file']) <> 0 && $mybb->request_method == "post")
$watermark->ClearCache();
}
Then specify path such as
http://imgur.com/myimage.jpg or
_root_images/something.png and save. Then apply watermak on image attchments. Tested - works.
thanks
but dont work and dont add watermark on images