Check in control panel (view by large icons), Default programs. Select 'set your default programs', once it populates select 'Windows photo viewer' if that was your usual photo viewer. If it has all the defaults and still doesn't open properly then go to 'Associate a file type or protocol with a program'. Once it populates scroll down to .jpeg, .jpe and .jpe, select the change program tab and then select Windows Photo Viewer' or your preferred viewer.
Dell XPS 13 9370 (2018) review