Pathologic was missing because of a .git folder inside.
[yaffs-website] / web / modules / contrib / media_entity_image / README.md
1 ## About Media entity
2
3 Media entity provides a 'base' entity for a media element. This is a very basic
4 entity which can reference to all kinds of media-objects (local files, YouTube
5 videos, tweets, CDN-files, ...). This entity only provides a relation between
6 Drupal (because it is an entity) and the resource. You can reference to this
7 entity within any other Drupal entity.
8
9 ## About Media entity image
10
11 This module provides local image integration for Media entity (i.e. media type
12 provider plugin). The user can map fields from image's Exif data to media bundle
13 fields.
14
15 ### Storing field values
16
17 If you want to store field values you will have to map them to actual bundle
18 fields. At the momemnt there is no GUI for that, so the only method of doing
19 that for now is via CMI.
20
21 This whould be an example of that (the field_map section):
22
23 ```
24 langcode: en
25 status: true
26 dependencies:
27   module:
28     - media_entity_image
29 id: photo
30 label: Photo
31 description: 'Photo to be used with content.'
32 type: image
33 type_configuration:
34   source_field: field_image
35 field_map:
36   mime: field_mime
37   make: field_make
38 ```
39
40 Project page: http://drupal.org/project/media_entity_image (if you can't find it, it will be created shortly).
41
42 Maintainers:
43  - Janez Urevc (@slashrsm) drupal.org/user/744628
44  - Primož Hmeljak (@primsi) drupal.org/user/282629
45
46 IRC channel: #drupal-media