Share link for a photo from icloud or photos app
You can create a public album and share the link to it to anyone, but not to a single image. One solution could be to create a album for each image.

iCloud: Create a shared album

You can also place the image file in iCloud drive, view the file in a browser and copy the link to it.