From 2fef91afc67631ab0dd61f02b3f670042ec642bc Mon Sep 17 00:00:00 2001 From: Jeff Dairiki Date: Thu, 18 Feb 2021 13:19:10 -0800 Subject: [PATCH] Fix typo: thumbnail arg `crop` must be set to a string --- content/docs/api/db/record/thumbnail/contents.lr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/api/db/record/thumbnail/contents.lr b/content/docs/api/db/record/thumbnail/contents.lr index d784e877..a6ab1411 100644 --- a/content/docs/api/db/record/thumbnail/contents.lr +++ b/content/docs/api/db/record/thumbnail/contents.lr @@ -8,7 +8,7 @@ signature: width=None, height=None, mode=None, upscale=None, quality=None --- body: -!! From Lektor 2.0 to 3.1.2 cropping was set with `crop=True`. This is now deprecated and instead crop is an available mode, which can be set as `mode=crop`. +!! From Lektor 2.0 to 3.1.2 cropping was set with `crop=True`. This is now deprecated and instead crop is an available mode, which can be set as `mode="crop"`. This method is available on attachments that are images and can be used to automatically generate a thumbnail. The return value is a thumbnail proxy