Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add attribution to image block #37468

Open
simison opened this issue Dec 16, 2021 · 1 comment
Open

Add attribution to image block #37468

simison opened this issue Dec 16, 2021 · 1 comment
Labels
[Block] Image Affects the Image Block [Type] Enhancement A suggestion for improvement.

Comments

@simison
Copy link
Member

simison commented Dec 16, 2021

What problem does this address?

In State Of The Word 2022 we saw Openverse introduced, and how attribution was copied from Openverse to the editor (video at 7min):

Screenshot 2021-12-16 at 23 38 17

In the example, they used paragraph blocks.

Plugins extending WordPress might pull from other image sources as well, and place attribution in caption field:

Screenshot 2021-12-16 at 23 36 03

What is your proposed solution?

It could be useful to have "attribution" or a similar field in image block attributes.

Theme or site could style the attribution differently from the caption; often it's just after the caption text, but in a slightly smaller or thinner style. Other times it's over the image in a much smaller copy while the caption is under the image.

Attribution text is also useful when added to image tag e.g. via schema attributes like license, creditText, or creator.

Adding this to image block would propagate the feature to other blocks such as Gallery.

Some examples from various news sites:

Screenshot 2021-12-17 at 00 04 06

Screenshot 2021-12-17 at 00 03 03

Screenshot 2021-12-17 at 00 01 36

Screenshot 2021-12-16 at 23 59 38

Screenshot 2021-12-17 at 00 14 55

Screenshot 2021-12-17 at 00 28 20

Screenshot 2021-12-17 at 01 02 50

There could be some other uses in different layout situations, for example New York Times:

image

@simison simison added [Type] Enhancement A suggestion for improvement. [Block] Image Affects the Image Block labels Dec 16, 2021
@Mamaduka
Copy link
Member

I think this might be easier if we start using inner blocks for citation, and then we can have separate inner blocks for attributions—related PR #31823.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Image Affects the Image Block [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

2 participants