strip image data on upload. add smaller version.