BlogEngine.Net Gallery User Control

January 30, 2008 13:41 by ptumelty

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. 



Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Currently rated 5.0 by 2 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Comments

January 30. 2008 20:31

MJG

Looks good. Any idea when this will be available?

MJG

January 30. 2008 21:23

ptumelty

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

Paul.

ptumelty

January 30. 2008 21:30

randy

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

randy

February 3. 2008 13:34

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

August 28. 2008 17:05

Busby Seo Challenge

Nice post good luck, I am amaze to your post.

Busby Seo Challenge

September 20. 2008 15:17

Matt

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

Matt

September 21. 2008 06:38

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.

September 22. 2008 05:50

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.

Add comment


(Will show your Gravatar icon)  

  Country flag

biuquote
  • Comment
  • Preview
Loading