Made the photos listing actually work