Install
Works with Drupal: ^10.3 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
41.08 KB
MD5: a3ec0122e029209176f763f6ddeda474
SHA-1: 18071bcf54828cfc403e68b32f3e9ec26241cf6b
SHA-256: 804e34f832d17edd4c596524bb49a262bbef070dfacdb02391db9a37d9950236
Download zip
61.43 KB
MD5: 2d52770471200fa0a45610591d021302
SHA-1: 780295f6a74198373bfd8bd50689aa29485e0286
SHA-256: a4d048fb602aab7a5e4e1a6bd30003bc6c4aa3ca0bbb3e44e7d60dda896f3061
Release notes
First release. ResourceSpace DAM shows a ResourceSpace collection on a Drupal page, with thumbnails and downloads served by the site, so visitors never reach the DAM.
- A ResourceSpace collection field, whose widget lists the featured and public collections the API user can see, and a Collection gallery formatter with the thumbnail size, an optional image style, the download size, the number of images and how often the collection is read again.
- Thumbnails are copied to
public://resourcespaceand renewed when the file changes in ResourceSpace. Copies no page has used for 30 days are deleted on cron. Originals are never saved on the site. - Downloads pass through the site. Each link is signed for its entity, field, resource and size; every download checks that the visitor can view the entity and that the resource is still in a collection the field holds, then streams the file. The default download is the largest JPEG, never an original in another format.
- An API client that signs every call, with the private key kept in the Key module, and a settings form that tests the connection.
Requires Drupal 10.3 or later, or Drupal 11, and a ResourceSpace site with its API enabled. Developed against ResourceSpace 11.0.