This hack will add a link above such photos with a link saying “See this Photo in its Album”. Clicking this link will reload the photo, but you’ll be viewing it inside the album that you couldn’t view without this hack.
When you are viewing photos in an album the Greasmonkey script will add an option "Back to the album" This will remove the photo from the page and load a thumbnail gallery of all photos in the album
1.Greasmonkey addon for firefox
2.Facebook profile viewing script
1.First of all download Greasmonkey addon and restart firefox
2.Install the Facebook profile viewing script
3.Click install and restart firefox and you are done.