Im Trying to upload image captured through web camera or mobile camera to erpnext. the data is a base64 string which im passing to python api. where im decoding the base64 string data by using base64 python module.
@antzforwork thank you and i have an other question for you, I want to render the same image in my doctype but in File doctype i find only the url so do i need to encode/decode the file and render it on UI or is there a function for that.
You will have to upload image through UI as it sets URL for it. I also uploaded 3000 product images directly to the image directory via SSH. But couldn’t link it to Item. In the end had to upload via UI and write a script to match image name with item name. FYI image name was set as item name before uploading hence the script worked.