How do I get the image path from a photo that is taken through the app

Hi how would i approach it if the user first takes a photo using the app and it display immediately in a image component? the user cant pick the image from there gallery.

store the path to the image in TinyDB before displaying it in the image component or after that, as you like…
if you still have doubts, what about providing a screenshot of your relevant blocks?
Taifun


How do I get the image path from a photo that is taken through the app.
it also duplicate the image after I take the second one