filtering photos by category on upload page