media.type.remote_image already defined

Created on 14 December 2023, about 1 year ago
Updated 17 January 2024, 11 months ago

I have already defined a remote_image media type but would still like to try this module.

When installing I get the following error:

Exception has occurred.
Drupal\Core\Config\PreExistingConfigException: Configuration objects (core.entity_form_display.media.remote_image.default, core.entity_view_display.media.remote_image.default, media.type.remote_image) provided by media_entity_remote_image already exist in active configuration

Is there a way to install the module without first removing these references?

💬 Support request
Status

Closed: duplicate

Version

1.0

Component

Documentation

Created by

🇬🇧United Kingdom 2dareis2do

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @2dareis2do
  • 🇬🇧United Kingdom 2dareis2do

    Ok I have had a chance to install and briefly evaluate this on a different site without predefined remote_image content type.

    From what I can tell this module adds a pre defined content type with as custom remote image field `field_media_remote_image_url`.

    However this does not come with the benefits of using the remote stream wrapper (more secure, option to copy image for thumbnail etc). Neither does it add ability to add a new remote image via the media modal. i.e. there is no way to add new images via ckeditor media popup or media entity library afaict? It also assumes that the remote_image media type is not already defined.

    Remote Stream Wrapper also does it add ability to add a new remote image via the media modal, but I had expected this feature to be here as this does have a distinct entity type that should make it easier to create a media plugin for this, i.e. the ability to add a new remote url.

  • Status changed to Closed: duplicate 11 months ago
  • 🇬🇧United Kingdom 2dareis2do

    Ok I think this is covered here. Thanks.

Production build 0.71.5 2024