abstract style from upload.