Resize code images