Fixed the ranking page for local pics