Only base64 encode image file-types