This project is read-only.

Media Library Picker thumbnail image for videos

Topics: Writing themes
Aug 18, 2013 at 8:34 PM
Edited Aug 18, 2013 at 8:34 PM

I'm trying to create a projection page showing my videos in a list with thumbnails of the videos.

So I was wondering if I somehow could get the thumbnails from the Media Library (Orchard.Web\Media\Default_Profiles\Transform_Resize_w_200_h_200_m_crop_a_middlecenter_c_) or create them like this image is:
<a href="@mediaPart.MediaUrl">
    <img alt="@mediaPart.AlternateText" src="@Display.ResizeMediaUrl(Width: 200, Height: 200, Mode: "crop", Alignment: "middlecenter", Path: mediaPart.MediaUrl)" />