Optimize thumbnail creation of default images.