14. April 2009 13:07
I received an comment from David, where he asked on how to create an thumbnail with you own custom size in this control.
So I thought about it and thought it would be the easiest way to create an aspx page that creates an thumbnail,this page could then be used in your website for other thumnail generation aswell.
All you have to do now is to change the imageurl property and pointto the GenerateThumb.aspx webpage and add some properties to the url.
It would look like this.
<lbn:hyperlink id="img1" runat="server" imageurl="generatethumb.aspx?image=images/image-1.jpg&width=92&height=92" navigateurl="images/image-1.jpg" tooltip="Picture 1" />
Easy right ?
Attached is the updated site with the generatethumb aspx included.
LightBox.Net_Updated.zip (1.05 mb)