entityResource returns null for umbracoWidth and -Height
I'm currently trying to setup a custom section and inside I added a mediaPicker which is working fine. Unfortunately the thumbnail is not shown properly, because somehow the values for umbracoWidth and umbracoHeight I get back are always null.
When I load the page, I call this specific function:
entityResource returns null for umbracoWidth and -Height
I'm currently trying to setup a custom section and inside I added a mediaPicker which is working fine. Unfortunately the thumbnail is not shown properly, because somehow the values for
umbracoWidth
andumbracoHeight
I get back are alwaysnull
.When I load the page, I call this specific function:
The entity is returned correctly in the promise, except that width and height are always
null
:This causes the umbraco thumbnail to fail:
Has someone an idea on what I'm missing out here?
I suggest to use
mediaResource
.Thanks Tarik, that was indeed the solution!
is working on a reply...