If you plug your iPhone (or other iOS device) into your Linux system, you might see in the sidebar the virtual filesystem for app document storage, but not photo/media storage. If you don’t see the photos virtual filesystem, go to the app document virtual filesystem first. Change the :3
at the end in the afc://
URL to :1
. (You may need the proper GVFS plugins for AFC and gphoto2 first.)