add image base 64 support