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.
Currently rated 5.0 by 2 people
- Currently 5/5 Stars.
- 1
- 2
- 3
- 4
- 5