User login

Media module does not allow the filling out of extra fields when adding or uploading media

Oh, Media module. The adding a text field such as for caption or credit works, the field is attached, but you need to go to admin/content/media and edit an uploaded file to add any information there.

  1. The obvious approach, tackle the issue to make media entity fields show up on upload and WYSIWYG add forms which no-one else has touched:
  2. Alternatively, create a perhaps superior user interface where the content manager can add and edit the captions to a batch of uploaded files in one go, using the module.

I don't think leaving things as-is is really acceptable, but bottom line is the content manager can edit the credit line for images and videos etc, and we can automate the proper presentation.

Someone else finding out the bad news: "When I upload any sort of media (using the file widget or the media selector widget) there is no additional "author" field to fill out." Then he says, never mind: "Go to this screen: admin/content/media. It lists all your uploaded media with an 'edit' link that lets you edit your custom media fields." But he knows that's a rotten work-around.

The developer documentation:

Ah. It is a known desire with zero patches on a 35 post issue:

Fill in the available fields when creating media in the WYSIWYG

Same complaint: "I see that I can add fields each entity type at "admin/config/media/types/manage/image/fields" but how do I USE those fields?" (How does one add fields to Media entitities

Searched words: 
media module display fields on upload drupal drupal media fields when adding uploading images videos extra field not shown


Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.