Implement auto loading photo.