Problem/Motivation

According to the terms and conditions we should add Attribution/Crediting when using Unsplash images.

9. Attribution.
Notwithstanding anything in Unsplash License and Unsplash Terms & Conditions to the contrary, each time you or your Developer App displays an Image, your Developer App must attribute Unsplash, the Unsplash photographer, and contain a link back to the photographer’s Unsplash profile. Unsplash, and other Unsplash graphics, logos, designs, headers, button icons, scripts and service names are trademarks, registered trademarks, service marks or trade dress of Unsplash (“Unsplash Marks”). Subject to your full compliance with these API Terms and any other Trademark Guidelines made available by Unsplash to you, Unsplash hereby grants you a limited, personal, non-sublicenseable, non-transferable, nonexclusive, revocable license to use the Unsplash Marks in your Developer App. You may not:

use the Unsplash Marks in any manner that creates a false suggestion, either directly or indirectly, that your Developer App is sponsored by Unsplash
use or alter any text, logo, Unsplash Mark, Unsplash signature colors, or Unsplash layout, or
alter or use any Unsplash Mark in a misleading way, (d) use any Unsplash logo or Unsplash Mark in your Developer App in a more prominent manner than the logo or mark that primarily describes the Developer App. Unsplash has the right to do quality insurance inspections of your Developer App and withhold the right to use any Unsplash Mark if the quality is not satisfactory to Unsplash in its sole discretion.

Is that currently possible? If yes, can you please point me how?

Thanks :)

CommentFileSizeAuthor
#6 Screenshot 2026-03-06 at 11.51.53.png75.07 KBimmoreel
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

carolpettirossi created an issue. See original summary.

batigolix made their first commit to this issue’s fork.

  • 7ffb2745 committed on 2.0.x
    Issue #3550612: Add attribution field for Unsplash photos
    
    - Add...
batigolix’s picture

Status: Active » Needs review
Issue tags: +finalist-sprint

With the help of claude code I created a first draft of an attribution functionality.

- I added a attribution field to the media entity
- The field is populated with data from unsplash when creating the media entity
- The field is shown in the media edit form
- The field is also shown in the default display
- An install hook is added to add to the field on existing websites.

Please review and test.

immoreel’s picture

StatusFileSize
new75.07 KB

Works as advertised, I tested adding an image using the widget on the node edit page as well as on media/add/unsplash

image

immoreel’s picture

Status: Needs review » Reviewed & tested by the community
immoreel’s picture

Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.