New editor: Referencing image metadata

I already had the solution in one of my templates:

$image = $attrs->id()->toFile();
1 Like