説明:画像に透かしを埋め込む。アップロード時に透かしを自動的に埋め込むようにするには本体ファイルにコードを追加する必要がある。アップロード後に埋め込む場合はその必要は無い。
WP ver.:2.0.x – 未検証、2.1 – オッケー
ダウンロード:Marekkis Watermark » Download
導入:
- watermarkフォルダごとプラグインフォルダに入れて有効化
- アップロード時に透かしを自動的に埋め込むようにするには、wp-admin/upgrade-functions.phpをエディタで開き、次の箇所を探す
[php]
‘post_mime_type’ => $type,
‘guid’ => $url
);
// Save the data
[/php] MM_Execute_WM($file,'');
を次のように追記
[php]
‘post_mime_type’ => $type,
‘guid’ => $url
);MM_Execute_WM($file,”);
// Save the data
[/php]
注:$file
の次の引用符はシングルクオートが2つです。- (任意)画像ロゴの透かしを入れるには透過背景でstempel.png というpngファイルを作成し、 watermarkディレクトリにそのファイルを入れます。
- (任意)お気に入りにフォントを使用するには、そのフォントを /wordpress/wp-content/plugins/watermark/fontsディレクトリにアップロードします
設定:
設定画面は管理画面>設定>にWatermarkとWatermark-Dirの2つあります
- Watermark
- 透かしの位置、色、大きさなどを設定
- Watermark-Dir
- アップロード済みの画像ファイルに透かしを埋め込みます
この他の「イメージ」関連のプラグイン:
hi!
your plaintext ist not right! its mean:
‘guid’ => $url
not
‘guid’ => $url
best regards, 😉
Marekki
i mean:
not = & gt ;
dammn, the first versian has been “translated” to html.
Marekki
Hi Marek!
Sometimes it’s very annoying, isn’t it? 😡
I’ve just corrected it and hope it works.
Thank you for the nice plugin and appreciate your pointing it out!
i hope you will have a lot of fun with this plugin. i’ll be happy about a comment (maybe in japanese language?! 🙂 ) in my blog!
cu,
Marekki
OK, I will post a comment. 😮
Thanks again!