Resize and compress code working correctly.