You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/classic-ui/images.md
+24-8
Original file line number
Diff line number
Diff line change
@@ -285,18 +285,34 @@ To access image scales, which are normally not accessible to the current user, o
285
285
286
286
## Responsive image support
287
287
288
-
Plone supports the generation of picture tags with `srcset`s for image optimization.
288
+
Plone supports the generation of [`picture`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture) tags with `srcset`s for image optimization.
289
289
Additionally, you can define [media queries](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_media_queries/Using_media_queries) for [art direction](classic-ui-images-responsive-image-support-art-direction) and further optimization.
290
290
291
-
The configuration allows you to define different picture variants, such as `Large`, `Medium`, or `Small`.
291
+
The configuration allows you to define different `picture` variants, such as `Large`, `Medium`, or `Small`.
292
292
Users can choose from them in editors, such as TinyMCE, and developers can use them in templates.
293
293
294
+
To generate a `picture` tag, use the following code.
0 commit comments