Marekki’s Watermark works fine with WordPress 3.0.4
Marekkis Watermark Plugin 0.8 works now fine with the new version 3.0.4 of WordPress. The installation is similar to the installation of the other versions.
open wp-admin/includes/media.php and paste codes line 225-226
// INSERT HERE!!!
MM_Execute_WM($file,”);
the codes look like:
224 ), $post_data );
225 // INSERT HERE!!!
225 MM_Execute_WM($file,”);
226 // Save the data
Please see step 6 of the updated installation instructions.
Thanks to UpskirtHQ and ismail mert.
Have fun.
Marekki

if you do not want to edit each file media.php wordpress upgrade. you can insert the following code into the file watermark.php
function addwatermark($file) {
MM_Execute_WM($file['file'],'');
return $file;
}
add_filter( 'wp_handle_upload', 'addwatermark' );
hope it helps you
thank’s Marekki
Teppi, thank you for the tip!
Marekki – WordPress 3.0.4 gives me an error on the ImageDestroy lines, but works fine if I comment them out (wm_functions.php, lines 139-140).
My question: how can I modify this plugin to not affect the original file?? I would like all other sizes to get the watermark, just not the biggest.
this plugin work fine now with wordpress 3.0
hi, there is an error if wordpress multi site function is opened. The plugin just run main blog, and it can’t be run other sub sites. the error like this
Warning: imagedestroy(): supplied argument is not a valid Image resource in /home2/xxxxxx/xxxxxx/wp-content/plugins/watermark/wm_functions.php on line 140
could you fix this i want to use on http://www.kafanagore.com/resimler
thank you superman
if you can’t anyway thanks so much, because we have been using for long time.
take care
i want to add that, i determine the watermark image manuel, i am using buddypress and multiblogging function. i installed the plugin subfolder blog too (/resimler/) but it can’t be run. how can i run i knot know.
i tried change something, i guess different db name causes this problem, and the pluging can’t save the blog information in it’s db, the plugin data saves main blog db only. i checked my db, i think it can save blog data that is a blog of wp multi site it will be fixed.
Hi Marekki! I have 3.0.4. The problem is that the plugin, according to the installation described by you, sets watermark only on uploaded images, and when I resize or crop an image the watermark won’t be set again. Please, tell me where to put your code in image.php or image_edit.php files so the watermark will be set on each new image copy / clone.
Danke Dir für´s Plugin!
If you change the install code to:
if (is_plugin_active(‘watermark/watermark.php’)) {
MM_Execute_WM($file,”);
}
you will not have problems if you disable the plugin.
so, please don’t upgarade yet to wp 3.1 … i think there is some problems with this plugin for wordpress 3.1
Tested and everything fine with wordpress 3.1..just follow the step
hi, it is running very well on 3.1.1 version.
please be carefull pasting the codes. the plugin codes paste at line 230. it has to look like this
http://www.biriyilik.com/wp-content/uploads/2011/04/wordpress-watermark.jpg
from turkish, you can check this page
http://www.biriyilik.com/bilgisayar/internet-bilgisayar/wordpresste-resimlerinize-sitenizin-adini-yazin-44047.html
thank you again and take care
what step? i can’t get it to work on wp 3.1
Finally something that actually does the job
It has issues though I did a work around for time being.
1. WM dir doesn’t work… I FTP watermark.png in (its a plain white logo with 50% opacity) and tried clicking through it says report says it worked but
2. New image does not appear in the WM plugin itself still has the default stempel.png.
Workaround: replacing the stempel.png with custom image with the same name(i.e as custom.png = stempel.png) which seems to work except that
3. in preview I get complete white box (ie no opacity/transparency)
4. In actual practice the white box appears BUT the scale is much much smaller.
5. Text version works but again scale of text is much much smaller not what I specified… I just about got it to work with 99px size
I followed everything in the installation guide
I am using WP 3.1.1
Using FireFox 4
Help is much appreciated? my email is attached
I think if you can sort these minor quirks out we actually have an awesome plugin that actually compatible with WP 3.1
Big problem on admin with WP 3.1.2
showing code
“Yes No
‘; return createWM; } ?> ”
on top of layout
@awconcept – open all watermark plugin’s php files and change from “<?" to "<?php".
Hello, Ive found your plugin very useful, however i have encountered an error when trying to use the batch watermark function on folders with too many imgs, it says the following:
Request-URI Too Large
The requested URL’s length exceeds the capacity limit for this server.
Apache mod_fcgid/2.3.5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at b5.d8.364a.static.theplanet.com Port 80
Is there a way you could realease an update that can overcome this problem by queuing up the work? I would gladly donate for you if so. Cheers.
Looks like in 3.1.4 they changed the media.php where we are suppose to insert the code. It now looks like the below. Anyone know where to put the “MM_Execute_WM($file,”);”
), $post_data );
// This should never be set as it would then overwrite an existing attachment.
if ( isset( $attachment['ID'] ) )
unset( $attachment['ID'] );
// Save the data
hi, the plugin use with wordpress 3.2 very well. i tested. the code
// INSERT HERE!!!
MM_Execute_WM($file,”);
copy and paste in wp-admin/includes/media.php at line 234 like this
you can take a look here, there is a image showing how it is done.
i modified your plugin a tiny bit, to allow for dynamic watermarking based on the user
that is uploading the image. each user has their own watermark in a specific folder
on the server (images/company-images/watermarks/, in the root of the site), using
their user_id as the name (ie 12.png or 7.png) you can see the user ids from the
user list on the admin side.
anyway, in wm_functions.php i changed :
“$imageLogo=ImageCreateFromPNG(“… (line 81 i believe)
to :
$user_id = get_current_user_id();
$imageLogo=ImageCreateFromPNG(“http://www.absolute-path.com/images/company-images/watermarks/”. $user_id. “.png”);
i am sure you can use siteurl and make it relative, but i hard-coded my site’s address (not absolute-path.com)
hope it’s useful to someone, maybe you can plug it in the next version as an option. I didn’t change the
settings page or anything, so it’s not a clean change per say, but it works.
A question from a total amateur here- I can’t find out how to watermark a wordpress page for my website- not photos or pictures! Can you help? I publish a web magazine and to help protect the writers from cut and past plagiary I’d like to watermark the web page their story is on with our grayed out logo. Anyone know how to do that?
8 plugins for wordpress blog protection:
http://rinf.com/alt-news/web-development-news/8-wordpress-plugins-to-protect-your-blog-content/8065/
one disables right click, another serves bots fake content. etc.
good luck
note:
as far as actually watermarking your articles, that’s doesn’t make sense.
the reason it works with images and print content is you can’t separate
the content from the watermark when you try to copy it. with wordpress
you are writing text, plain text. whatever watermark image you add will
just get ignored when someone highlights the text and copies it.
so functionally you are looking for content protection, or drm. watermarking
for the digital age
hi for the last version of wp?? doesn’t works 4 me. help
You created some great points there. I did a search on the subject and found many people will agree together with your weblog.
Tnx for the great info men
!
Testing and working fine, best wordpress watermark plugin !
Hi there,
I ‘m testing this watermark plugin but without success.
When adding watermarks afterwards (browse to the dir), all work fine.
But when I upload a pic, nothing happens. Pic shows up without watermark.
only difference i have with the instructions is /www/wp-admin/includes/media.php
I have wp 3.2.1
Cheers for some suggestions.
Choepie
Hi and thanks for this plugin !
From my side once I activated the plugin, I tried to go to the settings pages watermark and watermark dir but once I clicked I’m redirected to a 404 error page so I can’t set it up…
Any idea ??
Thanks
I read your post. It is very interesting. And I am sure its very Beneficial for me.
Keep Going
Thanks for sharing such a interesting post here its very interesting post and will help to other also.keep sharing.