adding photo to image with size pref