If I understand your question correctly you are trying to send an email that contains a <img> to a file already on some server.
The Postie image templates only apply to attachments so that is not the route to go.
Rather you should set the Preferred Text Type to “text” and Allow HTML In Mail Body to “yes”
Then in your email put
<img src="http://www.xxxx.com/zzz.jpg" />
You can of course add extra html if needed.
Thread Starter
flords
(@flords)
Ok i understand.
Can i put automatically in every body email <img src=”http://www.xxxx.com/zzz.jpg” /> ???
Maybe if you explained what you are trying to accomplish I could give better advice.
If you just want the same image in every page that is something your theme should do.
Thread Starter
flords
(@flords)
I have a webcam image in a link, into my website. And image is is updated automatically.
I have a weather system that automatically sends emails.
The system can automatically send e-mail, and the plugin works. I would like to put the link of web cam image (http: //www.xxxxx/image.jpg) in the email.
If it is always the same link you could use the Postie postie_post_before filter to add it. See http://postieplugin.com/extending/
Thread Starter
flords
(@flords)
Yes it is always the same link.
So i create a file named filterPostie.php in the wp-content directory and i place the following code into it.
<?php
function my_postie_post_function($post) {
return $post;
}
add_filter(‘postie_post_before’, ‘my_postie_post_function’);
?>
Where i put link image??
before return $post;
$post['post_content'] = '<img src="http://my.com/img.jpg" />' . $post['post_content'];