support for png, gif and jpeg images