Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi
what is API should I use for retrieving images on V6? DynamicMedia?
Thanks
Ali
Hi Ali
Have you checked out the documentation for the Umbraco 6 API here? http://our.umbraco.org/documentation/Reference/Management-v6/Models/Media and here http://our.umbraco.org/documentation/Reference/Management-v6/Models/MediaType
Hope this helps.
/Jan
Hi Jan,
Is not recommended to use Media class as it queries Database instead of reading value from cache (XML). any other suggestion?
Looks like the answer is this:
http://our.umbraco.org/documentation/Reference/Mvc/querying ;
for Media
@Umbraco.TypedMedia(1234)
for Content
@Umbraco.TypedContent(1234)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Umbraco 6 working with media
Hi
what is API should I use for retrieving images on V6? DynamicMedia?
Thanks
Ali
Hi Ali
Have you checked out the documentation for the Umbraco 6 API here? http://our.umbraco.org/documentation/Reference/Management-v6/Models/Media and here http://our.umbraco.org/documentation/Reference/Management-v6/Models/MediaType
Hope this helps.
/Jan
Hi Jan,
Is not recommended to use Media class as it queries Database instead of reading value from cache (XML). any other suggestion?
Thanks
Ali
Looks like the answer is this:
http://our.umbraco.org/documentation/Reference/Mvc/querying ;
for Media
@Umbraco.TypedMedia(1234)
for Content
@Umbraco.TypedContent(1234)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.