A user control to resize images and create thumbnails
Height and width are maximums the image is resized to fit with in them keeping its origional height to width ratio, so image is not streached or squished just resized to fit in the box
creates jpg thumbnails in ThumbFolder and renders an image control with the thumb nail
If an image with the same name exists in the ThumbFolder a new one will only be created if the date modified on the origional is newer than the date modified on the thumb

use as follows

<%@ Register tagPrefix="Cains" TagName="ThumbnailCreator" Src="~/Controls/ThumbnailCreator.ascx" %>


Version 1.2 release fixes an issue that was occuring when the control was used inside paged data.
Version 1.2.1 added importing of namespaces to .vb (previously in web.config)

Last edited Jun 7, 2010 at 11:56 PM by Caino, version 11