Fixed bug when displaying photos in photo gallery.
Destination classes did not get photo paths correctly.