Fix typo: thumbnail arg `crop` must be set to a string
This commit is contained in:
parent
66349a95e2
commit
2fef91afc6
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue