ASP.NET MVC Photo Gallery

FAQ

What are the server requirements?

top

How do I create the folder and subfolders structure?

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:

Keyboard navigation top

What makes the gallery so fast?

You can also keyboard arrows to navigate!

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.

Keyboard navigation top

Do you provide the **full** source code, so I can create my own application based on this?

Yes

top

Where are comments stored?

Comments, 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.

Where are comments stored top

How does the visitor login to leave comments?

In order to leave comments, visitors need to login with any of OpenID provider

Visitors login openID top

How can I edit the image name and description as administrator?

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

Application configuration file top

How can I sort folders and subfolders the way I want?

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)

Application configuration file

Common scenarios:

top

How does email notifications work?

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)

Notification service using Postmark

So the only thing you have to do is:

top

How can display HTML content when the visitors clicks on a certain folder?

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.

Html content when folder opens

Just a simple html file:

Html content when folder opens top

How can I set a folder as private?

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:

Private Folders

Permissions are inherit so if you set a folder as private, the subfolders will be private too

top

Errors.. How do I check if something is wrong?

Elmah is being use for error handling and logging:

Error handling using Elmah

Just point your browser to http://yourdomain.com/galleryinstallationfolder/elmah.axd

top

How do I make the Image SiteMap work?

The application indexes automatically the images and creates a Image Sitemap

Google Image SiteMap

To access the sitemap point your browser to http://yourdomain.com/galleryinstallationfolder/SiteMap

top