PNG and GIF support

Added png and gif extensions to the anchor
Merge pull request #2 from fjdelarubia/master

PNG and GIF support