If you connect your camera to a computer or have placed your SD card into a PC card reader and then edited any of your pictures on the PC this can cause them to no longer display on your camera. Always make copies of your pictures and save them on the PC before editing.
Only edit your copied pictures not the originals. Only keep original unedited pictures on the SD card. Do not rename any files or folders on your SD card.