Reverting to preoptimized images because of resizing