Updating image type extension to get it working again with Snowcap CoreBundle