added check and static path for images; added exclude option for badge tag