Hi M!
That’s a good catch actually. It should work for the photo view as well.
If you are inserting the function inside the loop and not seeing it, then you might want to double check by inspecting the page and look for the html code. It may be that it’s there but not showing because it will need some css / html adjustments.
You can also see how the tribe_events_list_the_date_headers() function works by looking at the code in wp-content/plugins/the-events-calendar/src/functions/template-tags/loop.php. You can even copy the code and create your own function in your theme’s function.php file and modify it to suit your needs. Just remember to use a unique function name.
I hope that helps! 🙂
Cheers!
Victor