PNG and GIF support

Added png and gif extensions to the anchor