Lorem Picsum Macro

Lorem Picsum is a Lorem Ipsum but for photos!

It is happen quite frequently to me where I need random photos in Tiddlywiki when I work on some small prjects like css-grids, image-gallery, Shiraz, Thinkup, … etc.

I found Picsum is a fast, open source, quick access cloud photo source to get random images, or images by ID at different size!

Attached is a small Tiddlywiki macro to fetch images from Picsum

  1. download Picsum Image Gallery.json (654 Bytes)

  2. drag and drop into https://tiddlywiki.com/

  3. See the result by opening tiddler: Picsum Image Gallery

Open the Picsum Image Gallery tiddler and edit the call to macro picsum to meet your requirement!

see doc here: https://picsum.photos/

Example

<<picsum 400 409>>

  • gets images by id from start-id=400 to stop-id=409
  • all images are square at 400x400

1 Like

Another cloud source for “placeholder” images suitable for testing layouts is:

3 Likes

Beautiful, will be a good place to practice grid css.

Another one, less pretty but display the size of the placeholder : https://placeholder.com/

1 Like