add base64 image
add url check