Mar 08

NotesForGallery is an open source control on top of the Microsoft ASP.NET AJAX framework for easy displaying image galleries in the asp.net web applications. The objective of this project is to build a gallery easily and quickly. (2 lines of codes)

It is an easy to use, file-based, image gallery component / control. It is also a highly configurable application that automatically generates fast thumbnail indexes of a folder structure.

This robust ASP.NET Image Gallery can be integrated seamlessly with your ASP.NET applications. You can use NotesForGallery to quickly develop great looking slide shows and image galleries.

Features

  • Clean, lightweight and extremely fast loading by pre-loading photos;
  • Slideshow with progress bar;
  • Automatically creates thumbnails of all your images;
  • Highly customizable layout, you can use your own CSS class for each element (album, gallery…);
  • Customizable image box, you can change the overlay background, the overlay opacity, determine if the navigation is fixed, change your button text and the resizing speed…
  • Customizable slide show, you can localize your button text, you have a play/stop button for the slide show, and you can change the slide show interval…
  • Customizable thumbnail, you can change Size and quality;
  • Display a gallery as album, in this context you can show a title and a description for your album, you can configure the fade speed to show the images.
  • Optimization, all the scripts are minified, you can cache thumbnail, you can save your thumbnails to disk, more ASP.NET AJAX Control Toolkit like (in terms of structure)
  • Search images recursively in sub folders

albumswithimages all2

albums images lightbox

More Informations

How to install?

Add the NotesFoGallery.dll reference in your web site (WebSite >> AddReference…)

Register the ThumbnailHandler in the Web.Config file (httpHandlers section):

<system.web>
	<httpHandlers>
		<add verb="*" path="ThumbnailHandler.ashx" type="NotesFor.ThumbnailHandler, NotesForGallery" validate="false"/>
	</httpHandlers>
</system.web>

<system.webServer>
	<handlers accessPolicy="Read, Write, Script, Execute">
		<add name="ThumnailHandler" verb="*" path="ThumbnailHandler.ashx" type="NotesFor.ThumbnailHandler, NotesForGallery" resourceType="Unspecified" requireAccess="Script" preCondition="integratedMode"/>
	</handlers>
</system.webServer>

Register the control in your page:

<%@ Register Assembly="NotesForGallery" Namespace="NotesFor" TagPrefix="ctl" %>

 

Add a Script Manager:

<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>

Add the control on your page:

<ctl:Gallery runat="server" ID="Gallery1" FolderUrl="~/Images/1" Size="100" />

Notes:

Sometimes there are some CSS problems on Chrome or Safari, to avoid these problems, you can add all css in your head section.

<head runat="server">
    <title>Untitled Page</title>
    <link href="css/album.css" rel="stylesheet" type="text/css" />
    <link href="css/nf.lightbox.css" rel="stylesheet" type="text/css" />
    <link href="css/gallery.css" rel="stylesheet" type="text/css" />
</head>

Comments

Andrew

Posted on Thursday, 11 March 2010 08:53

Thanks for the great software and replies to my questions about setting it up!

Brent VanDusen

Posted on Thursday, 22 April 2010 08:53

I have the control installed in my dev environment and it works just fine. When I move it to a server, the gallery loads on the page, but when I click on an image, I get the picture in a brower window and not in the control? I turned on debuging for the script in my browser, and I get an an error "Line 12 Invalid property value" - It appears like it is just about to render the image in the "frame" as the outline and buttons of the image frame appear. Any ideas?

codepuller

Posted on Thursday, 22 April 2010 09:42

I found the issue - I had this property  set OverlayBgColor="LightGray" I changed it to OverlayBgColor=#ffffff and it works fine. Thanks and great work

Mark Kelly

Posted on Friday, 23 April 2010 06:48

Is it possible to invoke the gallery from a button click on the page as opposed to clicking on thumbnail?

Bola

Posted on Sunday, 2 May 2010 14:57

Glad that you shared this! It's some pretty great info

Baccarat

Posted on Monday, 10 May 2010 12:27

Sleek! For sure I am going to use this! And thanks for the code that you have provided along with the post. It's a great help.

vedezevanje

Posted on Tuesday, 11 May 2010 10:05

The gallery looks perfect. I am glad that I was able to see this page. Anyway, I hope you could update the gallery every once in a while Smile

Dog Runs

Posted on Wednesday, 19 May 2010 12:09

The notesfor gallery looks great.  It displays nicely and is easy to use.

Montana Poker

Posted on Wednesday, 19 May 2010 14:56

You have a really good informative post here. Great website, if you have a chance you should bring your montana poker face over here. ;)

f cams

Posted on Saturday, 22 May 2010 23:29

Notes for gallery looks terrific and I really could use an increase in load time. I am going to make use of this on future projects, thanks!

oracle rac training

Posted on Monday, 7 June 2010 19:59

i hope it was possible to invoke the gallery from a button click on the page as opposed to clicking on thumbnail..

attorney marketing

Posted on Monday, 14 June 2010 12:12

Using this tool can we make any changes to the actual image like adding more graphics to the image.This tool looks amazing quality one.

Osmar

Posted on Sunday, 20 June 2010 04:34

I have the control installed in my dev environment and it works just fine. When I move it to a server, the gallery isn't work I get a blank page and can not see nothing. Any idea what the problem is?, thanks

online ads

Posted on Monday, 5 July 2010 09:50

Its very easy to use file-based, image gallery component / control,and NotesForGallery to quickly develop great looking slide shows and image galleries is really excellent.

internet advertising network

Posted on Wednesday, 7 July 2010 05:04

After reading your post it look so easy to work in file based image gallery.its features specially Slideshow with progress bar is impressive.

mike white

Posted on Wednesday, 7 July 2010 10:25

Great information...thank you very much.

car hire venice airport

Posted on Thursday, 8 July 2010 01:49

Thanks for sharing I liked it
see you soon on your blog again : )

London Female Escorts

Posted on Thursday, 8 July 2010 09:05

i did not think that it has that many features.thanks for sharing information about it.

San Diego Movers

Posted on Friday, 9 July 2010 20:43

Your blog provided us with valuable information to work with. Each & every tips of your post are awesome. Thanks a lot for sharing. Keep blogging

large charcoal grills

Posted on Monday, 12 July 2010 10:18

Even better than the original!

Prescott

Posted on Monday, 12 July 2010 13:19

Gotta love the new 2.0 version, good pointers.

Tasia Leeth

Posted on Wednesday, 14 July 2010 01:48

Houses

Posted on Wednesday, 14 July 2010 13:27

Weird... I just stumbled on your blog by looking for 'financial spreadbetting' on Yahoo. But I haven't found any articles about that on here?

sleeve tattoo designs

Posted on Sunday, 18 July 2010 05:51

Used previous version and still faithful with the new one.

Columbus Wedding Photographers

Posted on Tuesday, 20 July 2010 23:09

Wow... this software can really enhance images and graphics... nice work!

17 inch laptop cases

Posted on Wednesday, 21 July 2010 11:50

where there is the 2.0 there are the best of the best!

Blog Literature

Posted on Thursday, 22 July 2010 16:49

Wow!

Such a beautiful galleries these are. I am going to create my own. I am going to make gallery for first time. I hope it 'll be a very nice experience for me.

network drivers

Posted on Saturday, 24 July 2010 15:19

Thanks for the good software and replies to my questions about setting it up!

cruises

Posted on Sunday, 25 July 2010 05:45

i hope it was possible to invoke the gallery from a button click on the page as opposed to clicking on thumbnail..

anon

Posted on Monday, 26 July 2010 23:11

you can explain about instal it very complete. i only use what are u write in this post.

Earlie Oskins

Posted on Tuesday, 27 July 2010 18:41

I enjoy this website

Andrew Voytas

Posted on Tuesday, 27 July 2010 23:52

I added the dll and followed your instructions above. It runs just fine in my local enivronment. And is very AWESOME!!!!! I Love IT!. When I run it from the GoDaddy server I get

[SecurityException: That assembly does not allow partially trusted callers.]

Any ideas on why I am getting this? I did some research but it seems that there is an assembly:
<assembly: System.Security.AllowPartiallyTrustedCallersAttribute()>
but this is in the code itself. I can not change it in the dll.

Areola Repigmentation Surgery

Posted on Wednesday, 28 July 2010 00:34

It seems that you've put a good amount of effort into your article and I want a lot more of these on the web these days. I truly got a kick out of your post. I do not have a bunch to to say in response, I only wanted to register to say special work.

Add comment




  Country flag

biuquote
Loading