Module Description
This module enables you to link image fields of media entities to their referencing (node) entities. You will be able to set up the view mode for the media entity accordingly.

Currently with Drupal Core media handling you are not able to link an image from within a media entity to the parent entity that is referencing the media entity. There is an option to link to "Content", but this will generate a link to the media entity and not to the entity that is embedding/referencing the media entity. Most often user will want to link the image to the parent entity and not to the media entity, especially when using such images in views. While you can achieve this with using field based views, it is not possible to achieve this with views based on view modes. This is where this module comes in to bridge this gap.

Some hints about this module:


* Currently this module supports only media entities with Media source "Image".
* Currently this module supports display formatters "Image" and "Responsive image".
* The module is currently only tested with node entities as referecing entities, but other entities should be possible as well (if they support toUrl() method).
* If you check the "Link image to"-setting (from core module) and the "Link to parent entity..."-setting (from this module), the setting "Link to parent entity ..." will take precedence.

This module is similar to File Entity Link for Drupal 7, though it's not D8 successor to this module.

Project Usage
569
Creation Date
Changed Date
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to link image fields of media entities to their referencing (node) entities, allowing users to set up the view mode for the media entity accordingly.
Data Name
media_parent_entity_link

OPENAI CHATBOT

OPENAI CHATBOT

20:07:46
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.