added src binding and image type