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
## Scaling `direction` to be deprecated in favor of `mode`
220
-
221
-
```{attention}
222
-
In the upcoming release of Plone 6.0, in `plone.scale` the `direction` argument will be deprecated in favor of `mode`.
223
-
224
-
`plone.scale` will continue to do scaling, but the values should be converted in your code as follows:
225
-
>>>>>>> 58481e400f28d62b1ad48bdf33572b2710c6f81c
226
211
227
212
Other options are:
228
213
229
-
<<<<<<< HEAD
230
214
* scale-crop-to-fit
231
215
* down
232
216
* scale-crop-to-fill
233
217
* up
234
218
* keep
235
219
* thumbnail
236
-
=======
237
-
Until the final release of Plone 6.0, continue to use `plone.namedfile` with the `direction` argument and its values.
238
-
```
239
-
>>>>>>> 58481e400f28d62b1ad48bdf33572b2710c6f81c
240
220
241
221
242
222
(classic-ui-images-permissions-label)=
243
223
244
224
## Permissions
245
225
246
226
The `ImageScaling` view explicitly checks the permissions of the current user.
247
-
<<<<<<< HEAD
248
227
To access image scales which are normally not accessible to the current user, override the `validate_access` method in `plone.namedfile.scaling.ImageScale`.
249
-
=======
250
-
To access image scales, which are normally not accessible to the current user, override the `validate_access` method in `plone.namedfile.scaling.ImageScale`.
251
-
In `Products.EasyNewsletter` you can find an example of that.
0 commit comments