That is a difficult method for the user to follow, fraught with the opportunity for typing errors.
Provide the use with a list of filenames (perhaps even with thumbnails) to select from, then on selection the required image is fetched from google drive for display.
Where do these images come from, how do this images get onto google drive, how do you get the file id information back into the app?
There is the opportunity to use a google apps script that will create a table in a google sheet of filenames and file ids, which your app could download:
See HERE
and HERE