Install

Works with Drupal: ^9.3 || ^10 || ^11

Using dev releases is not recommended, except for testing.

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 8.91 KB
MD5: 6a44e3c25071616c51b4e3c6d7dff105
SHA-1: c2d915069e12115fc5dc8a3bcd2943bef2d178c9
SHA-256: bc76de47928ea586c6273925f2162665fe341e5aec3bd5a528e04f0fd291f43e
Download zip 10.58 KB
MD5: 85f82d5380445a23d11cc9f12f2b6ff4
SHA-1: ad2a32d80068828581b0a735ff7df60467087662
SHA-256: 9481ead87c83bc7a9cad69a4515bf733d1cc738ca124031bc234edc2c7e7090a

Release notes

First release of the Drupal 9.3+ port of the Unsplash Shortcode, now renamed Lorem Picsum Shortcode.

Requirements

  • Drupal ^9.3 || ^10 || ^11
  • Shortcode ^2.0

Changes

  • Ported from Drupal 7 to the Shortcode 2.x plugin API (@Shortcode annotation).
  • Switched from the defunct unsplash.it to Lorem Picsum.
  • Renamed the module to picsum_shortcode and the shortcode to [picsum].
  • Output attributes are now escaped.
  • Fixed a stray gap x class being added when class was set. The image now has picsum-image plus any class you pass.
  • Added a README and composer.json.

Breaking changes

  • Existing [unsplash] tags will no longer render. Replace them with [picsum].
  • The gravity option is removed because Picsum has no equivalent.
  • Picsum image IDs differ from the old unsplash.it image numbers.
  • The CSS class changed from unsplash-image to picsum-image.
Created by: dieppon
Created on: 24 Nov 2026 at 15:13 UTC
Last updated: 24 Nov 2026 at 15:13 UTC
Bug fixes
New features

Other releases