correct img name, added file ranking, modifyed file viewAlbum