Photo import and resizing.