Upload can now handle gif and png images