From b970808bccebdbd102ef5f2337c74f3c2f99d1e9 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 23 Oct 2023 15:05:16 +0100 Subject: Pagination of stream complete with working images To include an image in the stream, you have to use the streamimage shortcode, e.g. {{< streamimage filename="bobbins.jpg" >}} bobbins.jpg must be saved in content/stream/img. You can include a "size" param in the shortcode (a string as number), which is translated as a height attribute in the img html tag. --- content/stream/2023_10_07.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'content/stream/2023_10_07.md') diff --git a/content/stream/2023_10_07.md b/content/stream/2023_10_07.md index 726bc6c..2b53f49 100644 --- a/content/stream/2023_10_07.md +++ b/content/stream/2023_10_07.md @@ -9,7 +9,7 @@ Absolutely pissing with rain here in Berwick since about 7pm last night, and for This is how it looks to Open AI - considerably brighter than reality but quite a nice little scene: -{{
}} +{{< streamimage filename="berwick-upon-tweed--northumberland--united-kingdom--october-7-at-9-17-am--light-rain.jpg" >}} --- @@ -24,5 +24,5 @@ Updated the [Programming](../about/programming) page with an update on my latest Scotland are playing Ireland in the World Cup tonight. Barely able to contain the dread. -{{
}} +{{< streamimage filename="stomping_war_propoganda.png" size="400" >}} -- cgit v1.2.3