Adding a new plugin

Sep 3, 2012 at 3:52 AM

I'm trying to add a new plugin to Image Gallery (MaxImage - full screen gallery slideshow).

1) I have added the assets for the plugin (scripts/css/images) to /content/plugins/maximage and also created the class files for plugins at /models/plugins/maximage/ (duplicated the LightBox plugin class files - just doing a find/replace for lightbox -> maximage).

2) I have also added MaxImage to the Plugin enum in plugin.cs

However, when I reference the namespace in the pluginfactory.cs file:

using Mello.ImageGallery.Models.Plugins.MaxImage;

the ImageGallery breaks and is removed from Content edit/create.

Am I missing anything obvious in setting up a plugin?