• Hi again

    Sorry to keep bugging you, but how would I avoid the appearance of 2 images in the post? The one is the post link image, the other is the image with the alt text, from the post itself. The one with the alt text would be best to keep, for the visually impaired.

    Is it perhaps unavoidable?

    cheers

    Ellie

    The page I need help with: [log in to see the link]

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

    (@elliekennard)

    If I just don’t put a featured image in the post that doesn’t bring an image into Mastodon. So that doesn’t give me any alt text for the image that is shown, as it is just a link to the post. Drat, I thought I had it fixed.

    Hmmm

    Plugin Author Jan Boddez

    (@janboddez)

    The plugin filters out duplicate image IDs, so … did you perhaps upload the same image twice, once as a featured image and once as part of the post itself? If so, you could avoid that by selecting the “second” image (whichever that is) from the Media Library instead.

    If not, can’t really say what’s going on. You could try to disable all but one of the various “image sources” on the plugin’s Images settings tab.

    The way alt text works is, if it was saved to the Media Library, the plugin will look for it there. But: I don’t think merely uploading an image from the Edit Post screen is enough to get its alt text saved into the Media Library (this would be a core WordPress quirk, not something we can do much about), though, so the plugin will also scan your actual post content. Even if you’re uploading only a featured image.

    If it can find the same image (with the same ID, see above) and it happens to have alt text in the context of your specific post, it will use that for the image uploaded to Mastodon.

    Thread Starter elliekennard

    (@elliekennard)

    Thanks again, Jan. Yes, I did upload both images, as you suggested, as there is only one image per post, which is also the featured image. I could uncheck the box for the featured image, I guess. That would work perhaps?

    I insert the alt text into the main image in the Media library, so we are good there. Thanks again.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to avoid double image on post’ is closed to new replies.