Added functionality to photo