I recently saw this image, but somebody told me that it is fake, possibly photoshopped. The moon and the sun appear to be on the same perpendicular from the horizon. Is there any way to tell if this shot was actually captured?
No, it's not real. Given that the moon appears to be nearly full, it would be near to the horizon opposite the sun, which is clearly not the case. Also the framing of the sun and moon between the trees means that the sun and moon are on the same side of the trees, which is not possible when the moon is full.
No, neither is true. The moon itself does not emit light at optical wavelengths. It only reflects the sunlight, although in rare cases you can see it reflecting light from our earth (in which case the light is also from the sun). The side being illuminated should face the sun. So, if you see the sun aligned with the moon as in the photo, it must be faked. But you need the moon and the sun to be in the same line of sight in this case, e.g. a solar/moon eclipse.
The position of the moon and the sun in this picture are possible.
The issue in this picture is the homogeneous brightness of the moon.
It's look like a full moon, which happen when the earth is between the moon and sun, which is not the case in this picture.
So what the moon should look like ? In this case the visible part of the moon will be lighted by the sun in a small crescent. And the rest of the visible part of the moon will be lighted by an almost full earth. That it, a earthlight. The brightness contrast is gigantic but you can see it by your eyes.
Here a picture of it:
And another one with tree to have a brightness reference:
We can't see such a contrast on the original image. And the picture doesn't look like a HDR image.
So yes. This is a photomontage.
Yes, these celestial bodies in certain positions can produce this alignment, but the brightness of the moon is the dead give away, besides the fact that the sun couldn't possibly illuminate the side of the moon facing earth from 93 million miles behind it. At least not with this brightness.