wordpress-activitypub icon indicating copy to clipboard operation
wordpress-activitypub copied to clipboard

Feature Request: Label or hide image captions from the post's content

Open bruvellu opened this issue 2 years ago • 1 comments

What

Hello :)

When a blog post has images with captions, the captions appear in Mastodon as if they were regular paragraphs of the main text. For example, a content like this:

Becomes:

The image caption looks like a regular paragraph (except that there's no blank line to the next paragraph).

I'd like to suggest a way to distinguish or hide the captions from the post's content.

Why

Captions appearing as regular paragraphs can be confusing and break the flow of the text.

How

One solution would be to hide all captions. They are usually sideline information describing the image itself. And since the media files become attachments, not showing the captions in the post makes sense.

The other solution I can think of would be to prepend a label to the caption. Something like:

A regular paragraph.

[caption] This is an image caption.

Another regular paragraph.

Thanks!

bruvellu avatar Nov 18 '23 14:11 bruvellu

That is not trivial, because Mastodon is not the only platform out there, but one of the few that does not allow inline images. Friendi.ca on the other hand shows the complete post properly.

So if we remove the caption, we would limit other users that focus on/optimize for Friendi.ca.

pfefferle avatar Nov 18 '23 15:11 pfefferle

This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Mar 18 '24 01:03 github-actions[bot]

See: https://github.com/mastodon/mastodon/issues/29747

pfefferle avatar Mar 25 '24 07:03 pfefferle

Thanks, @pfefferle!

bruvellu avatar Mar 25 '24 20:03 bruvellu