Optimize image and svg