Now that we have custom block views in v14.2.0 (yay!) I'm scrambling to recreate some custom block views as extensions with typescript and they're working great except for media-images but I'm not sure what the equivalent would be in v14-land.
Does anyone know if there is a typescript umbraco utility to convert media keys to url paths?
v14.2.0 - How to get Media Url in Typescript from Media Key (Backoffice)?
Back in v13 angularJs to render a media image in a custom block view we used the 'mediaItemResolver' filter something like this:
Now that we have custom block views in v14.2.0 (yay!) I'm scrambling to recreate some custom block views as extensions with typescript and they're working great except for media-images but I'm not sure what the equivalent would be in v14-land.
Does anyone know if there is a typescript umbraco utility to convert media keys to url paths?
Hi, This is my implementation:
Thank you so much, Stefan.
After bringing in pieces from your implementation I was able to get images to show up in my backoffice block views!
I appreciate the help -- thanks for taking the time to respond.
is working on a reply...