Implemented viewing galleries with private images (private toggle checkbox in photos/edit not working properly)