triggering photos in eclipse