Added photo loading feature