Remove mysterious 0 in imgur-gallery.
Generalize getPage logic into common.