Fix typo: thumbnail arg `crop` must be set to a string

This commit is contained in:
Jeff Dairiki 2021-02-18 13:19:10 -08:00
parent 66349a95e2
commit 2fef91afc6
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ signature: width=None, height=None, mode=None, upscale=None, quality=None
--- ---
body: 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 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 automatically generate a thumbnail. The return value is a thumbnail proxy