Browsing: compress the image