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

[Image v3] Add copyright support #2900

Open
renow-luxembourg opened this issue Dec 4, 2024 · 0 comments
Open

[Image v3] Add copyright support #2900

renow-luxembourg opened this issue Dec 4, 2024 · 0 comments

Comments

@renow-luxembourg
Copy link
Contributor

Feature Request

Is your feature request related to a problem? Please describe.
Photographs, illustrations and other images will generally be protected by copyright as artistic works.
We would like to add some copyright/credits information under each image (in addition of the caption) with a différent style.
For the moment in the DAM we can define a caption (titleValueFromDAM) and an alternative text (altValueFromDAM)

Describe the solution you'd like
The easier solution for us will be to add a new field in the DAM named copyright.
And display it like the caption :

<span class="cmp-image__title" itemprop="caption">Image caption</span>
<span class="cmp-image__credits" itemprop="caption">©Image copyright</span>

This will allow us to customize the style with css.

Are there alternatives?
An other alternative is to allow HTML code in the title field of the DAM. The result will be something like :

<span class="cmp-image__title" itemprop="caption">
  <span class="caption">Image caption</span>
  <span class="credits">©Image copyright</span>
</span>

But it require for the redactor to learn a bit of HTML

@renow-luxembourg renow-luxembourg changed the title [Image] Add copyright support [Image v3] Add copyright support Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant