also, what is the fastest way to get resized images from the media library.
<%@ Register Src="~/CMSModules/MediaLibrary/Controls/LiveControls/MediaFilePreview.ascx" TagName="MediaFilePreview" TagPrefix="cc1" %>
<div class="item">
<a href="<%# HTMLHelper.HTMLEncode(MediaLibraryFunctions.GetMediaFileUrl(Eval("FileLibraryID") ,Eval("FilePath"), Eval("FileGUID"), Eval("FileName"), GetDataControlValue<bool>("UseSecureLinks"), true)) %>" rel="shadowbox[gallery]" title="<%# Eval("Name") %>">
<cc1:MediaFilePreview ID="filePreview" runat="server" Width="200"/>
</a>
</div>
This is how I am doing it now and the MediFilePreview seems to be really slow.
Here is a link to the page that I am using it on
http://173.203.24.234:8002/Our-Community/Photo-Gallery.aspx