Select2 for relations: show images when adding an image

Description

Background

Current layout:

Functional requirements

  • In case of a document which has an image (at leas type document type Image (or overriding from it) ) the layout of selected images should be like this:

  • In case of a document type Image (or overriding from it) the image should be added in the drop down, on the left of the title, in the same size as in the screenshot above

Technical tasks

None

Deployment actions

asset config "integrated_js" should not contain an other version of select2 (for example @AppBundle/Resources/public/js/select2.js)

Status

Assignee

Unassigned

Switches

None

Client

Integrated Marijn

Sprint

None

Fix versions

Configure