Skip to content

Commit 9f67267

Browse files
committed
Merge branch 'image-handling-image-scales-from-brain' of https://github.com/plone/documentation into image-handling-image-scales-from-brain
2 parents ab2ef65 + 985f6e4 commit 9f67267

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/classic-ui/images.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -463,9 +463,9 @@ The real `src` URLs look more like `http://localhost:8080/Plone50/dsc04791.jpg/@
463463

464464
## Image scales from catalog brain
465465

466-
For all `NamedBlobImage` fields, we can get existing scale info's directly from the catalog brain.
466+
For all `NamedBlobImage` fields, we can get existing scale information directly from the catalog brain.
467467

468-
Given a content type with a `NamedBlobField` named `picture`, we can get the following info's, by calling the `image_scales` attribute on the catalog brain.
468+
Given a content type with a `NamedBlobField` named `picture`, we can get the following information by calling the `image_scales` attribute on the catalog brain.
469469

470470
```python
471471
(Pdb) pp brain.image_scales
@@ -501,7 +501,7 @@ Given a content type with a `NamedBlobField` named `picture`, we can get the fol
501501
'width': 800}]}
502502
```
503503

504-
In these info's we have everything we need to generate our image URL's, without waking up any object's.
504+
This information shows we have everything we need to generate our image URLs, without waking up any objects.
505505

506506
```xml
507507
<li tal:define="preview python: brain.image_scales['picture'][0]['scales']['preview']">

0 commit comments

Comments
 (0)