reduce image size and float it