replace photo method to image_url(:small)