if EXIF data fails, now looks at the filename of the image to extract date from it. only handles yyyy-MM-dd format at the moment