how to display image from my Document Type (Category) info Templates view?
I tried to insert value but i get this
Umbraco.Cms.Core.Models.MediaWithCrops`1[Umbraco.Cms.Web.Common.PublishedModels.Image]
Can someone help?
how to display image from my Document Type (Category) info Templates view?
I tried to insert value but i get this
Umbraco.Cms.Core.Models.MediaWithCrops`1[Umbraco.Cms.Web.Common.PublishedModels.Image]
Can someone help?
2
Answers
If you have a
MediaWithCrops
type (which it looks like you do) you can use the following:For developers looking to display images in a loop: