Add option to use dynamic urls feature

Created on 6 March 2025, about 1 month ago

Problem/Motivation

Frontify now supports dynamic preview urls for assets, which serve the latest preview of the asset and don't require updating the Drupal media entity each time an asset changes in order to acquire the latest preview url. https://developer.frontify.com/d/xJoA5nhTq1AT/graphql-api#/deep-dive/ass...

Steps to reproduce

Proposed resolution

As this is still a Beta feature, and there are advantages to the current previewUrl, use of dynamicPreviewUrl should be optional. A config checkbox to enable use of dynamicPreviewUrl rather than previewUrl when pulling images with the Frontify Finder (the latest version 2.2.0 supports dynamicPreviewUrl already).

Remaining tasks

  • Update Frontify Finder library to 2.2.0
  • Add configuration option to use dynamic urls feature
  • Update widgets to use dynamic preview url instead of preview url when the config option is enabled.

User interface changes

Checkbox added to module configuration page.

API changes

Data model changes

Feature request
Status

Active

Version

2.0

Component

Media integration with Frontify

Created by

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

Comments & Activities

Production build 0.71.5 2024