WordPress.org

Ready to get started?Download WordPress

Forums

WP-EMail
[resolved] Embed Post_Image in Mail? (8 posts)

  1. planetshaker
    Member
    Posted 1 week ago #

    I can embed the Post_Title - but how to embed the post_image? Should be another variable, shouldn't it?

    https://wordpress.org/plugins/wp-email/

  2. Lester Chan
    Member
    Plugin Author

    Posted 1 week ago #

    If the post image is within the post content, it will send it. However, you can't embed post image.

  3. planetshaker
    Member
    Posted 1 week ago #

    Okay, is that a wordpress restriction? Could a post image variable technically exist? Would make the email more beautiful.

  4. Lester Chan
    Member
    Plugin Author

    Posted 1 week ago #

    Nope, it is not. The post image doesn't exist in the plugin itself or rather when emailing out the post, it doesn't fetch the image.

  5. planetshaker
    Member
    Posted 1 week ago #

    Okay, last try to pose my question "straightly" ;-)
    Can the plugin be adapted in this way that there will be a new variable that gets the post image out? Or is there a wordpress restriction that doesn't allow this? Otherwise, I suppose, you would have done this, wouldn't you?

  6. Lester Chan
    Member
    Plugin Author

    Posted 1 week ago #

    Nope there is no restriction on WP side. I did not add it because I don't see a need for it.

  7. planetshaker
    Member
    Posted 1 week ago #

    Thanks, that's what I wanted to know.

    Maybe I'll alter the plugin then. I definitely see a need for it: Posts can be recommended in a much nicer way when people also see the post image instead of just having the title with the excerpt or the content (with content images, of course). I even can make a nice HTML template with (of course,) inline CSS, since the Plugin strips out all CSS or header information from the html. Maybe this will increase the click rate on a recommendation mail significantly.

    Thanks for your info.

  8. Lester Chan
    Member
    Plugin Author

    Posted 1 week ago #

    Sounds good! Feel free to fork it https://github.com/lesterchan/wp-email and submit pull request if needed =)

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.