How to scan a QR code from a photo or screenshot
You cannot scan a QR code that is in a screenshot or photo with the camera of the same device. Fortunately, most phones also read such a code straight from the image.
On an iPhone
Recent iPhones (iOS 15 or newer) recognise text and codes in photos. Open the image in the Photos app. If it contains a QR code, you can tap it or an icon appears that opens the link. If that does not work, go to the next method.
On an Android phone
Open the photo in Google Photos and tap the Lens button. Google Lens reads the QR code and shows the link. You can also start Lens from the Google app and choose an image from your gallery there. Some phone brands have their own scan function in the gallery.
On a computer
Open the image and scan the code from your screen with your phone. That is often the quickest solution, certainly with a screenshot.
Check first, then open
A code from a photo often comes from someone else. So always look at the address you are shown before you open it, and do not enter login or payment details anywhere if you are not sure of the source.
Do you want to share a code yourself without people having to scan it? Then add the ordinary link next to the image as well. That way everyone can open it, also on the device the image is on. You create a code here.