set higher quality for jpgs, preserve pngs if uploaded
explicitly specify user