optimization for new photogallery
optional datepicker for <input type="date"> if not "date" type supported (for mobile devices)