Hello There was a plan to allow to set the content-type on the RenderableDefinition (if i remember correctly), however, that's not yet implemented. But AbstractRenderer has #setContentType method.
Ergo: To solve your problem, define a custom renderer. To keep things simple, just extend the the definition of an existing renderer and set the content type according to your requirements. You can do this just by configuration. On the JCR configuration app it looks like this: [img]http://www.pixhoster.info/f/2016-10/5cb47fedc22bc929d1c836aca3a18f60.png[/img] And here is a JCR export which you may use to bootstrap: https://git.magnolia-cms.com/projects/DOCUMENTATION/repos/camera-collection/browse/src/main/resources/mgnl-bootstrap/camera-collection/config/config.modules.rendering.renderers.json.xml kind regards, Christoph -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=1d3490f7-bff1-4e66-9a42-d285325fe172 ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com> ----------------------------------------------------------------