Skip to content
Snippets Groups Projects
Commit ea4c9347 authored by Damien Bouvy's avatar Damien Bouvy
Browse files

[IMP] web: allow background-style images for custom models

The `FieldBinaryImage` assumes that the image mixin is used to manage
its fields - this is mostly true, until you use custom fields.

This commit makes using the 'background' option of the Image widget
possible by fallbacking the thumbnail field's name to the name of
the field itself instead of `image_128` when we're dealing with a custom
field.
parent 411dd85a
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment