Fix caps for image extensions