After upgrade of Phoca Gallery version 2.5.x (and older) to 2.6.0 go to Administration - Components - Phoca Gallery - Users and click on Authorize All button. Because in 2.6.0 there is a new feature (authorize images), you need to make all images, which were added before this version, authorized to display them in the frontend.