On a Calendar search, only show dates which have photos to display
When calling the getDateLink function check the database for photos taken on that date before returning a link.
When calling the getDateLink function check the database for photos taken on that date before returning a link.