Skip to content

Commit 4251ba6

Browse files
Apply suggestions from code review
Co-authored-by: Steve Piercy <[email protected]>
1 parent 397eaba commit 4251ba6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/classic-ui/images.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,13 +291,13 @@ Additionally, you can define [media queries](https://developer.mozilla.org/en-US
291291
The configuration allows you to define different `picture` variants, such as `Large`, `Medium`, or `Small`.
292292
Users can choose from them in editors, such as TinyMCE, and developers can use them in templates.
293293

294-
To generate a `picture` tag, use:
294+
To generate a `picture` tag, use the following code.
295295

296296
```python
297297
from plone import api
298298

299299
scale_util = api.content.get_view("images", context, request)
300-
tag = scale_util.picture("image", scale='larger', picture_variant='large')
300+
tag = scale_util.picture("image", scale="larger", picture_variant="large")
301301
```
302302

303303
(classic-ui-images-responsive-image-support-picture-variants)=

0 commit comments

Comments
 (0)