support other types and png images