Skip to content

Make ImageDerivative resolver configurable to return additional properties #1120

Open
@chasinhues

Description

@chasinhues

ImageDerivative only returns image url, width, and height.

return [
'url' => $url,
'width' => $dimensions['width'],
'height' => $dimensions['height'],
];

I would like to be able to access other properties of the entity as well, such as ID, filename, etc.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions