Windows Media Player Won't Open Pictures

I have always used Windows Media Player to view pictures and videos on my computer, but tonight it suddenly stopped working. It no longer lets me view any sort of picture using the program, including PNG, JPG, and JPEG. I get the error message “Windows Media Player cannot play the file. The Player might not support the file type or might not support the codec that was used to compress the file.” However, it plays all my video files fine (MP4 and MOV mostly). Internet searches have come up pretty useless, and the files open correctly in VLC and several other programs. I haven’t changed any settings lately and it seemed to come out of the blue.

My computer:

Dell Inspiron 620
Windows 7 Home Premium Service Pack 1
With Windows Media Player