Sorry that you got stuck. The game is not super intuitive and a bit glitchy.
(SPOILER)
For the crab you have to take a photo from very close, it will open a new path.
Another place where some people get stuck is just after the crab, when you are stuck you should turn back and you'll see a vine to climb.