Do you have a Linux machine ? If so, use libimobiledevice to connect your phone with a cable. the Arch Wiki walks you through syncing your pictures [0] from an iOS Device to a Linux machine.
For wireless / through LAN:
If you want to transfer pictures/files/practically anything that can be uploaded through a web browser, you may use something like [1] snapdrop, it allows you to transfer files securely on a LAN Network, using WebSockets.
[0] https://wiki.archlinux.org/title/IOS
Edit: specified (not)wireless