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.
{term}`Mockup` together with {term}`Patternslib` are used to build the UI toolkit for {term}`Classic UI`, a frontend for Plone.
15
15
16
16
View the [interactive documentation of Mockup](https://plone.github.io/mockup/).
17
17
18
-
For more information, visit the [Mockup repository on GitHub](https://github.com/plone/mockup).
18
+
19
+
## Get started
20
+
21
+
[bobtemplates.plone](https://github.com/plone/bobtemplates.plone) provides [mr.bob](https://mrbob.readthedocs.io/en/latest/) templates to generate packages for Plone projects.
22
+
[plonecli](https://github.com/plone/plonecli) provides a command line client for bobtemplates.plone.
23
+
24
+
Install plonecli into your Python user packages to make it available to all your projects.
25
+
26
+
```shell
27
+
pip install plonecli --user
28
+
```
29
+
30
+
Create a theme package add-on with {term}`plonecli`.
31
+
32
+
```shell
33
+
plonecli add mockup_pattern
34
+
```
35
+
36
+
37
+
## References
38
+
39
+
- {ref}`v60-mockup-resource-registry-label` in Plone 6.0
40
+
-[Mockup repository on GitHub](https://github.com/plone/mockup)
0 commit comments