You cant. Cause your local variable it's in another scope.
There are several ways you can do what you told. But, if you need your pictures on any context,
I truly recommend you, save in local storage and then you can access anywhere in your app.
You can use a webblock to optimize your UX or navigate to any screen.
I built this demo pretty quick just for your understanding
Camera Plugin Demo (here)
Screencast: here
Regards