Added photo selection implementation