good work
And you'd better enclose PHP codes by [ code][ /code] (remove a space just after bracket).
At a glance, the plugin misses the feature of "admission", is it enough for you?
(If you use xcgal as "photos are always admitted just by uploading", I can say it's enough)