Skip to content

Commit de4c763

Browse files
erralstevepiercy
andauthored
Update plone/namedfile/usage.rst
Co-authored-by: Steve Piercy <web@stevepiercy.com>
1 parent 0fc3c04 commit de4c763

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

plone/namedfile/usage.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -472,8 +472,9 @@ So one can do the following:
472472
tal:replace="structure python:images.srcset(sizes='90vw')" />
473473

474474

475-
This will render the `img` with the urls of all scales configured in Plone, calculating the width
476-
of each of the scales and will add the `sizes="90vw"` attribute which instructs the browser to "render
475+
This will render the ``img`` with the URLs of all scales configured in Plone, calculating the width
476+
of each of the scales and will add the ``sizes="90vw"`` attribute.
477+
The ``sizes`` attribute instructs the browser to render
477478
the image that best fits as it will take the 90% of the current viewport-width" whichever is the current
478479
viewport.
479480

0 commit comments

Comments
 (0)