A PHP Error was encountered

Severity: Notice

Message: Undefined variable: details

Filename: gallery/gallery.php

Line Number: 1