Marekki’s Watermark works fine with WordPress 3.2.1 to WordPress 3.3.1
Marekki’s Watermark can be used with the current version of WordPress up to 3.3.1
But during installation you have to insert the code twice. See install step 8.
Marekki’s Watermark can be used with the current version of WordPress up to 3.3.1
But during installation you have to insert the code twice. See install step 8.
Marekkis Watermark-Plugin is very userfull!Wellcome to “http://www.8linghou.com”,which your visit!
Your plugin works perfectly, but there must be option disable watermark for gif files! Or can you make hack that disables it?
Hi,
you have to edit the watermark/wm_functions.php file. The first lines ot them are:
function MM_CheckFile_WM($checkfile) {
list($tmpaa, $tmpab, $tmpac)=split(“\.”,$checkfile,3);
if((empty($tmpab)) || ($tmpac!=”")) return false;
switch($tmpab) {
case “Gif” :
case “GIF” :
case “gif” : return ‘gif’;
case “jpeg” :
so comment out the gif cases. like:
switch($tmpab) {
/* case “Gif” :
case “GIF” :
case “gif” : return ‘gif’; */
case “jpeg” :
then your gif-pictures will be not watermarked.
Best Wishes,
Marekki.
anyone has test this plugin with wordpress 3.3??
Hi! I seen your post. it is very informative for the people who don’t about plugins or who wants to disable their plugins. your practical example is good. thanks for sharing.
yes, it is working fine with 3.3, i tested and, the code must be pasted the file line 243. thanks to Marekki
good luck
Thanks! Everything worked nice, use it with YAPB and 3.3 (though had to edit one more file in YAPB plugin).
yes, it is functioning excellent with 3.3, i examined and, the value must be copied and pasted the computer file range 243. thanks to Marekki
good luck
Works great
No more image stealing with this plugin hehe
Hi Marekki,
I have noticed that the watermark is added only on the full image. I was wondering if it’s possible to apply it to a custom size image created with add_image_size(). Any ideas on how can I do this?
Thanks you and keep up the good work!
help. i uploading . ..
Warning: imagedestroy() expects parameter 1 to be resource, null given in E:\xampp\htdocs\wordpress\wp-content\plugins\watermark\wm_functions.php on line 140
Greetings from Spain.
I am an amateur photographer and public blogs. The photos of my people are in:
http://zorita01.blogspot.com/
I hope you’ll visit me.
got this :
The plugin generated 5605 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.
i’m using wp 3.3.1…
Plugin does not work with latest version of WordPress. I edited the correct media.php file but added to different lines as they do not correspond with above image. It does not add watermark to current images of any size
Adoro me mostrar peladinha na web cam
i have the same problem. PLugin no longer working after upgrading to wp 3.3.1
please help..
:(
After each upgrade you have to repeat the installation step! During the upgrade process the media.php file will be overwritten by the upgrade-script with a new version. So you must insert the small piece of code again. See installation steps. In media.php file of WordPress 3.3.1 the lines are changed. The new positions are 241 and 302 (see picture in installation guide). After this change Watermark-plugin will work properly again.
Best wishes.
Marekki.
why you dont edit your plugin to compatible with with wordpress
and user no need to edit file everytime after upgrade
i see some similar plugin can auto install without need to edit any file
wordpress org/extend/plugins/transparent-image-watermark-plugin/
you might see it source code to see how his plugin function work
yes , Plugin does not work with latest version of WordPress
I am using WP 3.3.1 and getting this error:
Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/content/54/9158354/html/wp-content/plugins/watermark/wm_functions.php on line 140
418
I modified media.php as instructed above. How can I fix this to use the plugin? Any help asap is appreciated, thanks!
well, since i update the wp to 3.3.2 ,the watermark plugin won’t work any more .is there any way to fix this?
thx!
hi, i tested with wp 3.4. the codes must be pasted midia.php at line 247
good luck folk
it works very very well. It’s a good plugin.
Protip: use add_filter instead of rewriting hardcoded functions in wordpress! That way you won’t have to re-add your hook every time wordpress updates its own core php files.
In the case of your plugin, I appended wm_functions.php with this:
add_filter(‘wp_generate_attachment_metadata’, ‘mm_applyWatermark’);
function mm_applyWatermark($data) {
$udir = wp_upload_dir();
foreach ($data['sizes'] as $datas) {
MM_Execute_WM($udir['path'].”/”.$datas['file'],”);
}
//MM_Execute_WM($udir['basedir'].”/”.$data['file'],”);
return $data;
}
… and now it automatically works on any image upload, including external ones, internal ones, and I can even use another plugin called Regenerate Thumbnails to apply different watermarks should I want to change them. It’s also update-proof, or at least it is until they change around wp_upload_dir() and wp_generate_attachment_metadata().
Note that this code will only apply the watermark to any resized images. If you want your original file to be watermarked too, uncomment the last MM_Execute_WM call. This will make the original files get the watermark too, but if you use any other image editing, whether inbuilt to the WordPress admin or a plugin one like Regenerate Thumbnails, then the watermark will get applied a second time to the image(s).
hi, i tested the Marekki’s Watermark plugin and it is running very well, and i am using it about 4 years with no error for me.
good lock
Hello, unfortunately the media.php is no longer compatible for WordPress 3.5. Can anyone tell me what needs to be changed so that the great plugin is still usable? Greetings Torsten
hi, it is running very well at wordpress 3.5.x, please follow the installation. Please paste the codes line 247 in the media.php
if you any question, ask here
take care