Hi @Anonymous ,
Do you want to display related picture in library and detailed information of device?
Could you describe more clearly about the library and the list's relationship?
I assume that the name in library is the device name in list.
I've made a similar test for your reference:
1)in gallery's screen , set the gallery's Items: device list
2)in detailed screen, insert an image control and a display form.
Set the image's Image:
LookUp(libraryname,Name=Gallery.Selected.device name,'Link to item')
set the display form's data source to your list, set its Item: Gallery1.Selected

Best regards,