BlogEngine.Net Gallery User Control

January 30, 2008 13:41 by Admin

I've recently started work on a Gallery User Control to make it easy to insert sets of images into your blog posts. The user control is fully customisable via parameters and enables

  • Auto Generation of Thumbnails for speedier loading
  • Customisable Width/Height for thumbnail display
  • User defined number of columns in Image Grid
  • Integration with LightBox Extension

To use the control, all you need to do is embed it using the standard BlogEngine.Net method, passing in the appropriate paramters.

For example:

[ usercontrol: /blog/user controls/gallery.ascx ImageUrl=/files/images/wedding/;Orientation=1;RepeatColumns=6]

To see the control in action have a look at

http://www.tumelty.com/blog/post/2005/03/Wedding-Photographs.aspx 

The control will automatically use the LightBox Extension if available to show your pictures using the animated popup window. The first time you access the page, the control will also generate small thumbnails of your pictures which get saved to a /thumbs/ subdirectory of the gallery folder. Write permission needs to be enabled for this to work.

I have a little more tidying up to do but hope to release this to the community in the next week or so. 


Comments

1/30/2008 8:31:11 PM #

MJG

Looks good. Any idea when this will be available?

MJG United States

1/30/2008 9:23:08 PM #

ptumelty

Hi Randy, yes, the sample page above is in a blog entry. It also works on pages too.

Paul.

ptumelty United Kingdom

1/30/2008 9:30:29 PM #

randy

The user control sounds great. One question: will you be able to use it within a blog entry?

randy Canada

2/3/2008 1:34:54 PM #

David Miles

Wow - that is exactly the sort of thing that I have been looking for - any idea of when a download - even in beta form - will be available

David Miles United Kingdom

9/20/2008 3:17:11 PM #

Matt

Can anyone download this yet?  I would really like it for a site I'm working on for my wife.

Matt United States

9/21/2008 6:38:49 AM #

Matt S.

I was wondering how i could automate this so that i could precreate a gallery.aspx page and have it make a "gallery" for each folder and then each "gallery" could have individual sets inside it, etc.  I probably didn't describe this very well so please email me and I will try to clarify.

Matt S. United States

9/22/2008 5:50:31 AM #

Matt S.

I really want to use your Gallery but I'm new to BlogEngine.NET and I was wondering if you might be able to tell me how to use it.  I was also wondering if you could possibly help me modify it.  I was wondering how I might be able to modify this to work like the gallery in Personal Site Starter Kit at www.asp.net .

Matt S. United States

3/1/2009 3:41:29 PM #

Short Jokes

I do agree with the ways of gallary users control.If this takes in action can be very useful..
thanks for sharing this ..

Short Jokes India