Spike: allow custom rendering of inline images

Description

Background

Inline images need a custom rendering in some templates. We want to provide this feature in the default template.

Requirements

  • Make a technical design

  • Define the tasks which need to be done

Implementation requirements

  • Allow customized rendering of images, but in the future also other inline items (video, objects, ins items, etc)

  • Full customization need to be possible: resize the image to the required size, but a lightbox around it, etc.

  • You need to be able to define the view in your template

  • When no view is available the default template has to be used

  • An example of the presentation need to be added in the default article view of the IntegratedWebsiteBundle:

Image rendering requirements for default template

  • Max with of 1140px

  • Max height of 600px

  • class="img-responsive center-block"

  • title = image description

  • alt = image title

Technical tasks

None

Deployment actions

None

Assignee

Unassigned

External issue ID

None

Client

Integrated Marijn

Min. hours

None

Dev hour estimate

None

Epic Link

Sprint

None
Configure