Field formatter settings for responsive image not honored during download and sync option switch

Created on 19 June 2025, 13 days ago

Problem/Motivation

The misplacement of the responsive image field formatter in the view display, triggered when updating the media type and change in value for the "Download and Sync Assets" option.

Steps to reproduce

  • Install Drupal
  • Install Acquia DAM & media_library & responsive_image
  • Visit /admin/config/media/responsive-image-style and configure responsive image breakpoints.
  • Authenticate site in the configuration and then authorize the user
  • Create Content type and add media field with Acquia DAM: Image bundle selected.
  • Edit Acquia DAM: Image media type and click manage display
  • Select acquia_dam_responsive_image from format list.
  • Click on gear icon & select respective responsive breakpoint from Responsive image style list.
  • Create page and add DAM assets.
  • Verify the image is rendered with picture.
  • Edit Acquia DAM: Image media type and uncheck the Download and sync option & save changes.
  • Visit page and verify the image is not rendered with picture

Proposed resolution

Adjust the view displays with field format and associated settings based on the download and sync option chosen during the media update. This will ensure compatibility and proper display of media assets.

  • While switching from download and sync with responsive_image format to embed, make the Asset reference field visible with acquia_dam_responsive_image format.
  • While switching from embed with acquia_dam_responsive_image format to download and sync, make the On-site stored asset file field visible with responsive_image format.
💬 Support request
Status

Active

Version

1.1

Component

Code

Created by

🇮🇳India rajeshreeputra Pune

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

Comments & Activities

Production build 0.71.5 2024