How to add missing dimensions to all images to avoid cls?

How to add missing dimensions to all images to avoid cls?