Not sure if this was intentional but it doesn't mention it in the documentation but the Url property is being returned as null for images gotten as follows:
I needed to get this image in the old-way as I'm not sure I understand the use of PropertyAlias in Umbraco yet and passing it as null when trying to force type to 'png' to retain transparency fails as well.
Unable to use Url property of Media files
Not sure if this was intentional but it doesn't mention it in the documentation but the Url property is being returned as null for images gotten as follows:
I needed to get this image in the old-way as I'm not sure I understand the use of PropertyAlias in Umbraco yet and passing it as null when trying to force type to 'png' to retain transparency fails as well.
Hi Jack and welcome to our :-)
First try to add @{} around your code block and then remove the @ before your variables.
The next thing is try change Url to umbracoFile in the image tag
Hope this helps,
/Dennis
That seems to have worked, thanks.
Is there no way to create a responsive image in a 'png' format without an alias?
is working on a reply...