supports gallery page
Merge pull request #2 from vincent3569/master

supports gallery page