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
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -249,10 +249,10 @@ The `ImageScaling` view explicitly checks the permissions of the current user.
249
249
To access image scales, which are normally not accessible to the current user, override the `validate_access` method in `plone.namedfile.scaling.ImageScale`.
250
250
251
251
252
-
## srcset configuration
252
+
## `srcset` configuration
253
253
254
-
In `/@@imaging-controlpanel` Plone allows you to define srcset's.
255
-
A srcset can help the Browser to serve the best fitting image for the current users situation.
254
+
In `/@@imaging-controlpanel` Plone allows you to define HTML `srcset` attributes.
255
+
A `srcset` can help the browser serve the best fitting image for the current users situation.
256
256
Which image scale is best for the user can be decided on different metrics.
257
257
258
258
@@ -270,14 +270,14 @@ The first is metric would be the viewport size.
270
270
}
271
271
```
272
272
273
-
With this definition the Browser will use the large scale (800px) when the viewport size is max 800px.
274
-
When the viewport size is greater then 800px, the Browser will use the larger scale (1000px).
273
+
With this definition the browser will use the `large` scale when the viewport's width is 800 pixels or fewer.
274
+
When the viewport width is greater than 800 pixels, the browser will use the larger scale `1000px`.
275
275
276
276
277
277
### Pixel density
278
278
279
279
Another metric is the pixel density of the users screen.
280
-
This metric defines how many DPI per pixel the Screen is using.
280
+
This metric denotes the pixel density, or resolution, of an output device in dots per inch (DPI).
281
281
282
282
```json
283
283
{
@@ -289,13 +289,13 @@ This metric defines how many DPI per pixel the Screen is using.
289
289
}
290
290
```
291
291
292
-
With this definition the Browser will use the huge scale (1600px) when the screen has a density of 192 DPI per pixel also knows as `2x`.
292
+
With this definition the browser will use the `huge` scale of 1600 pixels when the screen has a density of 192 DPI, also knows as `2x`.
293
293
We use here two different media queries to also support older Safari versions.
294
-
Mobile devices with Safarilike iPhones are still only supporting the old non-standard media query.
295
-
If you don't care about IE support you can also use `min-resolution: 2dppx` which is closer to `2x`.
294
+
Mobile devices with Safari-like iPhones only support the old non-standard media query.
295
+
If you do not care about IE support, you can use `min-resolution: 2dppx`, which is closer to `2x`.
0 commit comments