Media Entity: Unsplash
This module integrates Unsplash's vast library of free, high-quality photos directly into your Drupal site. You can easily add images using their ID or URL, and the module automatically downloads them, stores them locally, and generates the required photographer attribution. It's compatible with Drupal's Media Library and has no external dependencies.
Seamlessly integrate Unsplash's library of over 5 million free, high-quality photos into your Drupal site. Simply paste an Unsplash photo ID or URL, and the module handles the rest.
Features
- Easy integration – Add Unsplash photos using just the photo ID or full URL
- Automatic image download – Photos are fetched via the Unsplash API and stored locally
- Built-in attribution – Photographer credits with profile links are generated automatically
- Media Library compatible – Works seamlessly with Drupal's Media Library
- No external dependencies – Only requires Drupal core modules
Attribution Done Right
The Unsplash API requires attribution to photographers. This module automatically generates proper credits:
Photo by Photographer Name on Unsplash
Photographers contribute their work for free – attribution is how they benefit. This module ensures you stay compliant while supporting the creative community.
Requirements
- Drupal 10 or 11
- An Unsplash API application (free to create)
Documentation
Full documentation is available in the README file, covering:
- How to obtain Unsplash API credentials
- Module configuration steps
- Usage instructions with examples
- Image and attribution field settings
Related Modules
- Media Entity Instagram – Embed Instagram posts
- Media Entity Twitter – Embed tweets
- Media Entity Flickr – Integrate Flickr photos
Sponsors
Development sponsored by Finalist, a Dutch Drupal agency specializing in custom solutions for the education and healthcare sectors.