Additonally to the BlogEngine Gallery extension there is a Gallery Manager which integrates into the BlogEngine's control panel. The gallery manager is based on Adobe Flex using code from CodeProject - http://www.codeproject.com/KB/aspnet/FlashUpload.aspx. It can be used in conjunction with the Gallery Extension or with your own gallery extension.
What can you do with the Gallery Manager
- Create, Edit and Delete Galleries
- Upload images into a gallery
- Add or Remove from a gallery
- Rename a gallery
What can't it do at the moment
- Order images or rename them
- No description can be given to the images yet, it's possible in the XML
The gallery manager won't at this time work under Mac OSX, something to do with Adobe Flash. Still haven't got a fix for it yet.
Step 1 - Download and Install
From the previous post you can download the files needed. Under the Admin directory copy in the gallery folder which includes the default.aspx, fileUpload.swf, FlashFileUpload etc..
Step 2 - Modify the Web.Config and Upload.cs
Put the upload.cs file in the App_Code, I put it under a folder called Gallery just to be tidy.
For the uploader to work you need to add-in the http handlers within the Web.config file
<httpHandlers>
<remove verb="POST,GET" path="Upload.axd" />
<add verb="POST,GET" path="Upload.axd" type="Upload" />
Step 3 - Modify the Web.Sitemap
To have the tab display in the Control Panel add in the following line in the Sitemap file
<siteMapNode url="~/admin/gallery/default.aspx" title="gallery" description="" roles="administrators"/>