Nokia N9: how to fix the Gallery not showing images or screenshots

If you have a Nokia N9 with the PR1.3 firmware installed, perhaps you've faced this issue yet. In other words, the Gallery app doesn't show anything but just pics you take with your camera, no screenshots or images downloaded or received. I want to share this with you because I went crazy figuring out how…