LightBox.Net revisited

by Tommy T 14. April 2009 07:07

Hi again,

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.

 /tommy

LightBox.Net_Updated.zip (1.05 mb)

Tags: , ,

ASP.Net | C#

About the me

Im 38 years old and working as a System Architect. I have been woring in the IT field the last 16 years and covered most of the techniques.

In my spare time I train Kyokushin Karate and try to spend as much time as possible with my family.

On this blog I am trying to post things and Code i make or encounter on the www.

Page List

RecentComments

Comment RSS