If you hosting provider has .NET Framework 4.0 installed, even if ASP.NET MVC3 extensions are not installed, you can deploy them independently (by copying the appropiate binaries to the bin folder)
You just need to upload whatever structure of folders and subfolders you want to publish. The application will auto detect the folder hierarchy and render the proper folder tree and menu elements.
Once you have the structure, you can easily:
top
If you click on the right/next arrows of your keyboard, you will navigate around images on the same folder.
If you use the up/down keys, you will navigate up and down the folder tree.
top
Yes
topComments, name, description and any other information related to each image is stored in a file called folderInfo.inc within every folder. Pretty similar to what Picasa (from Google) does, so you don't have to worry about databases, and you can move around folders and subfolders without losing any information.
top
In order to leave comments, visitors need to login with any of OpenID provider
top
You need to open aspnetphotogallery.config file and add your email address to the administrator list. Once you login using an OpenID provider with that email address, administration options will be displayed
top
A pretty powerful and easy to customize sorting mechanism has been implemented. It works just by defining in each folder what the sorting algorithm will be (by default Name ASC)
Common scenarios:
Every time a visitor writes a comment, a notification service is triggered, so you can be aware of the comment
To make it simple, Postmark service is being used (leave sending email to people who know how to do it), altough you can implement your own notification service using SMTP or similar (an interface is provided so you can implement your own)
So the only thing you have to do is:
Again, simple, convention over configuration!!
Just drop a file named "content.html" in the actual target folder. The application will recognize it and will display the html contained on it instead of the first image of that folder.
Just a simple html file:
top
You just need to edit the config file associated to that folder like and set the PrivateFolder=true and then the list of users that are going to be able to access the folder like this:
Permissions are inherit so if you set a folder as private, the subfolders will be private too
topElmah is being use for error handling and logging:
Just point your browser to http://yourdomain.com/galleryinstallationfolder/elmah.axd
topThe application indexes automatically the images and creates a Image Sitemap
To access the sitemap point your browser to http://yourdomain.com/galleryinstallationfolder/SiteMap
top