public static string getThumbDisplayUrl(string imgPath, int displayBoxWidth, int displayBoxHeight) { return(BaseShowThumbnailPage2.getThumbDisplayUrl( getBaseShowThumbnailPageParameters(), imgPath, displayBoxWidth, displayBoxHeight)); }
} // getBaseShowThumbnailPageParameters public static string getThumbDisplayUrl(string imgPath, System.Drawing.Size displayBoxSize) { return(BaseShowThumbnailPage2.getThumbDisplayUrl( getBaseShowThumbnailPageParameters(), imgPath, displayBoxSize.Width, displayBoxSize.Height)); }
public static string getThumbDisplayUrl(CmsLocalImageOnDisk resource, int displayBoxWidth, int displayBoxHeight) { string url = resource.getThumbDisplayUrl(displayBoxWidth, displayBoxHeight); if (url != "") { return(url); } url = BaseShowThumbnailPage2.getThumbDisplayUrl( getBaseShowThumbnailPageParameters(), resource.getUrl(System.Web.HttpContext.Current), displayBoxWidth, displayBoxHeight); if (url.ToLower().IndexOf(".aspx") == -1) { resource.setThumbDisplayUrl(displayBoxWidth, displayBoxHeight, url); } return(url); }