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
-
download Picsum Image Gallery.json (654 Bytes)
-
drag and drop into https://tiddlywiki.com/
-
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