Watermark & WordPress 2.3
Watermark v0.8 is working fine with the new WordPress 2.3 version. After upgrade to WordPress 2.3 you need one change. For details see step 4 of the installation guide.
Watermark v0.8 is working fine with the new WordPress 2.3 version. After upgrade to WordPress 2.3 you need one change. For details see step 4 of the installation guide.
| 4,065 views |
October 1st, 2007 at 13:06
Just curious as to where the quote mark goes. I seem to be getting a critical transfer error.
// Construct the attachment array
$attachment = array(
‘post_title’ => $post_title,
‘post_content’ => $post_content,
‘post_type’ => ‘attachment’,
‘post_parent’ => $post_id,
‘post_mime_type’ => $type,
‘guid’ => $url
);
‘MM_Execute_WM($file,”);’
// Save the data
This is what I am assuming needs to be done.
Thanks Jay
October 1st, 2007 at 18:03
Hi Jay,
with quotes i mean quotes after the word file shoul be like:
MM_Execute_WM($file,'');i hope this will answer your question?
Marekki
November 14th, 2007 at 11:38
I’m running WP 2.3.1 and have installed your plugin. I’ve opened the file:
/wordpress/wp-admin/includes/upload.php
Nowhere in this file is there the code (or any portion of it):
Construct the attachment array
$attachment = array(
‘post_title’ => $post_title,
‘post_content’ => $post_content,
‘post_type’ => ‘attachment’,
‘post_parent’ => $post_id,
‘post_mime_type’ => $type,
‘guid’ => $url
);
Any suggestions?
Thanks
November 14th, 2007 at 12:06
Hi Tim,
please check your files. In my version (2.3.1) you can find this pice of code in file:
/wordpress/wp-admin/includes/upload.php between lines 228 and 236. I think you will find this section.
Ciao,
Marekki
November 14th, 2007 at 12:16
Hi- thanks for the fast response. It is indeed there. I searched in BBedit and didn’t find anything. Strange. Thanks again.
December 17th, 2007 at 6:21
[...] wordpress 水印插件Marekkis Watermark-Plugin [...]
March 17th, 2008 at 1:28
with 2.3.3, when i suppose to be upload any pic, i was getting error about
/home/8888com/public_html/wp-content/uploads/2007/12/01-funny-watermark.jpg
Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/8888com/public_html/wp-content/plugins/watermark/wm_watermark.php on line 140
… done
Do you think, am doing something wrong somewhere ??
May 31st, 2009 at 13:38
Пока прочитал только эту одну запись, если и все остальное точно также хорошо, то автору респект
October 17th, 2009 at 15:24
Пока успел прочитать только эту одну статью, если и все остальное точно также интересно, то автору респект