add upload picture quality
now client-side can compress pictures before they upload them.
bug fixes