A ranger whose selfie with gorillas has gone viral says he was walking with a pair of animals when he spotted a perfect photo opportunity.