feeds_files_by_media
77 sites
No security coverage
Features
Using feeds to import files to content entity(like node) by media field.
How to use
- Install the module by composer
- Enable the module
- Add an feeds type:
- Select the fetcher: Fetch Resource from media field.
- Select the parser: Media field parser
- Setting the "Machine name of the media field" in fetcher settings.
- Add a media type field whose machine name must use the "machine name" set in fetcher settings of above step.
- Go to mapping settings tab of the feeds type
- Create mapping using the source of "Target file id of the media field" to mapping the image/file
field of the entity. - Click above mapping configure setting, then select "File Id" of the "Reference by"
PS: there's another "Target file name of the media field" source you can use too.
- Create mapping using the source of "Target file id of the media field" to mapping the image/file
Version 1.0.7 change:
Notice: Rename source target_media_library_item_name_of_media_field to target_media_item_name_of_media_field