minification by changing small images to base64