The ViewTitles checkbox toggles the display of titles beneath each photo. By default, a photo's title is its filename.
To change a photo's title, select the photo and click PhotosEdit Title..., or press F2.