Open
Description
This is slightly related to #11688
Note that I'm not totally sure about this ... There may be an alternative fix lurking around for this somewhere.
- Currently
$resources.ByType
means filter by MIME main type. - The problem with this for type
image
is that most people expect the images returned to have a.Width
and to be resizeable etc.
We have a few options:
- We could make
$resources.ByType 'image'
return only images that's processable. - We could add some $resource.IsProcessableImage` ... or something less ugly.
Not sure.