Last Modified 2013-05-07 by Michael Rubinsky

Michael Rubinsky


Ansel 2.0 Stuff


  • Deal with Ansel_Storage being able to specify different scopes and how that affects injector usage.
  • Use a decorator pattern for the different gallery display modes (Date/Normal/?).
  • rewrite tagger to use content_tagger
  • PHP5 native
  • Clean up the very long parameter lists on most of the list methods - take parameter arrays instead of a dozen different paramters.


  • Ansel_Gallery::addImage() should take an Ansel_Image object, not the raw image data to create the object.
  • use pretty autocompleter for tags / update the image view and review placement of tag widget.
  • Rewrite google maps integration to use horde_map javascript
  • Add a way to easily perform image actions such as downloading from the gallery view...something along the lines of either a small contextual menu or simply a link on the image tile, also a textual link to display the full image view would be very helpful for galleries using a lightbox - so the user could see the exif data/comments/image actions etc...
  • Implement a more MVC-ish way of handling the different gallery/image views. Instead of checking for api usage in all the views, use a dedicated view. This will make it easier for others to implement their own specialized view?

Random notes

Review all ansel js, output all strings in js and consolidate all the gallery_view js into a single *.js file.


Make it easier to add new ModeHelper objects. There should be an init function somewhere that returns the available modes that are installed. Normal and Date should be 'built in' and always available - maybe parse the contents of a special custom Mode folder?

A gallery style is defined internally by the Ansel_Style object. It is a combination of the following user-set properties: The Thumbnail style (Polaroid, drop shadows etc...), the background color, and the view style (Traditional, Lightbox). It also holds the Ansel_Widgets that should be displayed, though those are not yet user settable via the UI.

The gallery's "display mode" is used internally to determine which Ansel_GalleryMode class to use to represent the Gallery. Ansel_GalleryMode objects are responsible for obtaining all information needed to represent the gallery. e.g., the Ansel_GalleryMode_Date object organizes the gallery's images into subgalleries grouped by dates. Another way to look at it is to say that these mode objects determine what the gallery contains and how to organize it while the Ansel_View_GalleryRenderer objects determine how the galleries are to be displayed on the screen.

Still to figure out: how to allow for (and what to call) special modes (such as a possible "remote gallery") that cannot be arbitrarily switched between modes (like the current Normal and Date modes can be).


Allow user-specific, global, settings for what Ansel_Widgets are visible, allowing them to remove a widget that is defined in the style to un-clutter the view.

Modularize the photo (and maybe gallery) actions so we can easily plug in new actions, such as "Send this photo to Flickr" etc...

Maybe a "import/export" ability - to transfer images to other services like Flickr, Facebook, and import them from services that the user has perms to.

Layout ideas:

lazy load image thumbnails for some styles: Needs to be implemented on top of prototype...

Flash based image uploader (already implemented, with a widget implemented from scratch to look like the jquery widget):


Some usability/UI related stuff from Flickr site redesign.

Objective C/Cocoa stuff (For iPhoto/Aperture -> Ansel exporters, and iPhone/iPod Touch development):


If I ever get *really* motivated to dust off my C++ skills (and I use that term very loosely), add support for XMP metadata fields:

Some XML-RPC implementations for dealing with the lack of the WS* helper classes on the iPhone/iPod Touch:

...at least until we have a RESTful interface to our api

Unit Testing with Objective C:


GPS / Geocoding Stuff

Some code for using gps tracks in PHP - would like to provide apis for apps with geodata top filter based on date and location.


Basic info on creating GIS capable tables, queries.

Choosing the best images to display based on location?

Alternative to google for webservices - plus a downloadable location database:

Open source map server

Open source javascript abstraction for in-line dynamic maps

Kronolith Stuff/Ideas:

http://demo.helioscalendar.com/events/ (Some map integration ideas)