Provide image style URLs

Created on 11 April 2024, about 1 year ago
Updated 28 June 2024, 12 months ago

Problem/Motivation

Following on from Menu Items Extras fields also returned by the API Fixed , if a menu is configured with an image field, and it is set to display using an image style, the API includes the URL for the original image - it should include the image style URL.

Steps to reproduce

1. enable the menu_item_extras module
2. configure a menu with an image field
3. set the image to display as a thumbnail, with an image style selected
4. enable the API for the menu

Proposed resolution

Use the URL for the configured image style instead of the original URL.

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Closed: won't fix

Version

3.0

Component

Code

Created by

🇬🇧United Kingdom malcomio

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

Comments & Activities

Production build 0.71.5 2024