How can I put url link image to my image with a click of a button

I am doing an OCR app for carplate detection so the issues I am facing right now is that I have to input the link manually into the image component in thunkable for the ocr to read. Is there a way to input the link to the image component as seen in the picture below with a click of a button.

Sure but you should post this question in the topic you already started!