Thumbnail is not updated with the latest image version

Created on 27 November 2022, about 2 years ago
Updated 3 July 2024, 6 months ago

Problem/Motivation

Thumbnail is not updated with the latest image version

Steps to reproduce

Set "Transcode to standard format" on /admin/config/media/acquiadam
Upload an image to DAM
Use DAM image earlier added as a media in drupal system
Update image in DAM.
Edit media entity and press save so system should perform file sync from DAM.
System shows the first image as thumbnail

Proposed resolution

Investigate DAM cache issue.

I have noticed that the below URL returns a wrong image. It looks like cache is not invalidated when the image is updated
https://megger.widen.net/content/{image}/png/{filename}.png?u={u}&download=true&w={size}&q=80
If I add an additional param, system returns the correct image.

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡΅πŸ‡±Poland alorenc Wolsztyn, πŸ‡΅πŸ‡±

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡­πŸ‡ΊHungary Balu Ertl Budapest πŸ‡ͺπŸ‡Ί

    Just stumbled upon into a slightly different but still very related issue: media_acquiadam does not always takes into consideration the Finalized version of a given asset but sometimes (for some yet unknown reasons) only a previous asset version is being referenced from the Drupal side. This malfunction (for me at least) seems very similar to the one being solved in πŸ› Look for the "finalized" asset version not the latest modified Needs review for the more modernish acquia_dam module.

    I would recommend to expand the scope of this ticket and inspect asset version handling logic of this module from a more general approach. That could probably solve multiple issues in one run.

  • Status changed to Closed: won't fix 2 months ago
  • πŸ‡ΊπŸ‡ΈUnited States japerry KVUO

    Closing this as the change will be fixed the upcoming 1.1 release of acquia_dam, which will encourage existing media_acquiadam customers to migrate to.

Production build 0.71.5 2024