Access uploaded file using javascript

I have to upload image in a page and before saving data to Data Table, I want to access the uploaded image in Javascript console to read the image content with OCR reader.
What javascript code snippet could be used to access the image file as soon as it is uploaded?

Thanks,
Khalid

1 Like

Maybe someone in the community can help you with custom javascript?

Or you could always try chatgpt, we’ve gotten some great solutions.

We’ll make a plugin for this!

Done. New plygin is now launched

2 Likes

@Khalid
Tadabase is doing a fantastic job staying on track! They’ve just published a new plugin—check it out:

Hi @moe.

It’s great to know so quickly.
What is the name of the plugin? Where exactly can I find it?
I am searching on the link Enhance Your App with Customizable Plugins | Tadabase, but I don’t find it.

Thanks,
Khalid

You must have a Files field and a Long Text field in the form on this page. When the image is uploaded to the files field, the OCR automatically starts and loads the text into the Long Text Field.