Compile images with CSS to valisdate