• Resolved exmosis

    (@exmosis)


    Hi there, I’ve just started using Postie and love what it does. I’m attaching images to emails (but only one to each mail) to insert them into the post, and am wondering if it’s possible to set up alt text for the images.

    Something like the “tags:” approach would be great, eg just writing “alt: <text>” in the body, which then gets processed.

    If not, I’ll have a look into extending it myself, but thought I’d check first to see if anyone else had solved this already ??

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter exmosis

    (@exmosis)

    Replying to myself in case anyone else looks into this.

    From what I can see, attaching images using HTML formatted emails always replaces alt=”{CAPTION}” with alt=”” – there doesn’t seem to be an easy way to hook anything to change that.

    But as an alternative I’ve switched to the Preferred Text Type config to Plain Text, and can set alt text using the “#img1 caption=’my alt text’# approach as documented. This will do me for now, anyway.

    Plugin Author Wayne Allen

    (@wayneallen-1)

    @exmosis described the solution. Currently there isn’t a way to assign a caption to an image in html as there isn’t a great way to indicate which image you’re referring to.

    Thread Starter exmosis

    (@exmosis)

    @wayneallen-1 Thanks for confirming. I figure, theoretically, that you could do something like “caption1: …” for all emails, in the same way you use #img1# for plain text ones? But maybe allowing for both attachments and inline images does muddy the water.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Is it possible to set alt text for images?’ is closed to new replies.