Skip to content

Commit 57fff36

Browse files
MrTangojensens
andauthored
Update docs/classic-ui/images.md
Co-authored-by: Jens W. Klein <[email protected]>
1 parent 00a5835 commit 57fff36

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/classic-ui/images.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ To get the scaling information only without creating an HTML tag, you can use th
6161
from plone import api
6262

6363
scale_util = api.content.get_view("images", context, request)
64+
# on the following line "leadimage" is the field name. The default Image content types field name is "image".
6465
image_scale = scale_util.scale("leadimage", scale="mini")
6566
print(image_scale.url)
6667
print(image_scale.width)

0 commit comments

Comments
 (0)