The Media module have support for using the its Media Browser for an Image field. However, when selecting that as Widget type, it is no longer possible to use Insert on that field.

It would be great if that was possible since it then would be an alternative to for example Filefield sources and IMCE.

Comments

gagarine’s picture

tracking

bmx269’s picture

sub

quicksketch’s picture

Status: Active » Closed (won't fix)

This probably isn't going to happen. Especially since Media module plans on switching back to use normal File Fields anyway (thus making it work with Insert), pursuing this would be a dead-end. See #1201936: Move the media field to a non-required submodule.

adamdicarlo’s picture

Status: Closed (won't fix) » Active

Re-opening this because even though it should work, something's preventing it.

I'm using a File field with a "Media file selector" widget (using Media 2.x), and no Insert interface elements appear on the field edit form, nor on the edit form of the entity with the field.

(I get the Insert fieldset on a core image field's field edit form just fine.)

Anonymous’s picture

I was able to get the Insert fieldset to show on the Image field edit form by adding an entry for 'media_generic' to the widget array in includes/image.inc, but could not figure out how to get it to show on the node edit form.

Even after removing 'image_image' just to try to figure out where this module gets its jQuery Drupal.settings from, 'image_image' was the only one that would show up for 'insert'.

adamdicarlo’s picture

Title: Integrate with Media modules Media Browser » Integrate Insert with file fields using Media module's "Media file selector" widget

Changing issue title to better reflect what needs to be done.

rwilson0429’s picture

sub

adamdicarlo’s picture

@rwilson0429 don't post a comment to subscribe to issues anymore. Click the "Follow" button on the right side up by the issue summary.

jenlampton’s picture

There's a patch to media module to make insert with the Media widgets:
http://drupal.org/node/1140404#comment-5454964

quicksketch’s picture

Status: Active » Closed (duplicate)