handle all type image