Proposed change:
I think it would be great to add mediaTypes to the result of resizedImage
The reason is whenever we passed the widgetResize, it will only return width, height, uri, and possibly base64 if user set it to true and all of the initial data from the asset such as mediaType, filename, etc are omitted from the response. It would be great to include some of them which still relevant to the data to the resizedImage response.
I already have code ready, if you guys okay with it I can create a PR for it.
hey guys, great work on the library.
The reason is whenever we passed the widgetResize, it will only return
width
,height
,uri
, and possiblybase64
if user set it to true and all of the initial data from the asset such asmediaType
,filename
, etc are omitted from the response. It would be great to include some of them which still relevant to the data to theresizedImage
response.I already have code ready, if you guys okay with it I can create a PR for it.