Use different Webdam API when thumbnail download is failed

Created on 23 October 2018, about 6 years ago
Updated 29 October 2024, 2 months ago

Problem/Motivation

AcquiadamAsset::getThumbnailUrlBySize() returns FALSE if it fails to download the 1280 size thumbnail.

Proposed resolution

Use a different Webdam API to generate the thumbnail. Lets use the same API that has been used here #3005252-2: Add support of 1600 image size limit .

Remaining tasks

N/A

User interface changes

A new option 1600 will be available under Image size limit configuration.

API changes

A new API function will be available generateAssetThumbnail($asset_id, $width, $height) which will use the WebDam API /ws/assets/asset_id/thumbnail. The new API will be able to generate asset of the provided size.

Data model changes

N/A

Feature request
Status

Closed: won't fix

Version

1.0

Component

Code

Created by

🇮🇳India subhojit777

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.

Production build 0.71.5 2024