I want to retrieve images dynamically from the Broker which are published as dynamic multimedia Components.
I am not sure about the model, I have tried to repeat the same way the default image model is created by but no luck not getting the image object although metadata is available.
Update
MediaCentreImage
is the name of the Schema which we have created.
[SemanticEntity(SchemaOrgVocabulary, "ImageObject", Prefix = "s", Public = true)]
[SemanticEntity(CoreVocabulary, "MediaCentreImage", Prefix = "c")]
public class MediaImage : MediaItem
{ }
MediaImage
which is inheriting theMediaItem
.model like inImage
model – Hem Kant Aug 26 '16 at 15:37[SemanticEntity(SchemaOrgVocabulary, "ImageObject", Prefix = "s", Public = true)] [SemanticEntity(CoreVocabulary, "MediaCentreImage", Prefix = "c")] public class MediaImage : MediaItem { }
– Hem Kant Aug 28 '16 at 16:56