add photo by url functionality