Man taking photos of seagulls over the ocean.
He is at the beach.
The man could be on a boat on the ocean taking the pictures as well, instead of the beach
You can take a photo of seagulls over the ocean without being at the beach. For example you could be on a boat far away from the shore.
Man does not have to be on the beach to take photos over the ocean.