Closed (works as designed)
Project:
D7 Media
Version:
7.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Nov 2012 at 22:58 UTC
Updated:
12 Feb 2013 at 17:32 UTC
I would like to see the ability to add additional meta information to any file that gets uploaded. For example, copyright information, author, caption, producer, etc... This info would then be made available to the process that renders the media asset in the WYSIWYG editor (just like Title and Alt) and to the Text Formatter for media tags.
Comments
Comment #1
ParisLiakos commentedWell first part is already possible, you can add those fields to the file type you want, right?
Comment #2
siefca commentedHi,
New version of Media module uses File Types that can be configured by an administrator visiting
admin/structure/file-types/managepath (D7).Customizing media uploader/editor by giving a user the ability to select what fields from media type should be editable there would make it very easy to create captions and similar stuff. Displaying the captions could be then implemented in a template or in some JS extractor or [somewhere else].
The question remains: will the caption be always the same, regardless of context and surrounding content? Some articles or news entries require that some images shouldn't have captions. Some sections too. So we need a switch that can tell if some image should have caption and that switch should be attached to this very image in a content. There is also third option: a caption that differs from the one assigned to a file – the same image may have many different meanings, depending on what the surrounding story is about. So the editor should have the ability to override the caption too.
HTML5 introduces
dataattributes. It might be clean solution to map certain fields from file types to them in order to read them later by some JavaScript or formatting filter and extract visible data like captions.Comment #3
gmclelland commented@siefca This functionality is already available. It is my understanding that the fields you add to your file types should be considered global. They will be available anywhere that file is displayed. If you need different fields(per instance) then I would create a node type with a file field for that.
This issue is also discussed at #377066: Meta-Data Plan and Structure
Hope that helps