Use the image title in the ajax view too.
Clean up, no need to return image_id, get rid of unused variables.
Add Ansel_Attributes::imageAttributes(), phpdoc.
Use Ansel_Attributes::imageAttributes()
Fixes.