Add extensions for image file.