3

I'm using the Media module in a project.

I've defined several custom image styles and would like to add them to the list of display options in the media browser. However, I can't find a way to do so. Displays default options

Reading through issues similar to mine, I found this thread which suggested using hook_styles_default_presets() to render the options. But even with clearing caches, I'm unable to get my custom image styles to display as formatting options.

1 Answer 1

2

This tutorial ended up answering my question: http://figure-w.co.uk/drupal-how-do-you-make-a-new-image-style-appear-in-the-media-browser/

  • Install the Entity View Mode module
  • Add new view modes
  • Configure display settings for view modes

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.