added media slugify filter, allowed image extensions