Don't edit such on SD cards. You can mess up so much this way. Copy them out to your home folder where you keep and organize such things. The stories of wipeouts is why. No reason to follow others to their doom.
When I access photos on my SD card, strange things happen. If I open a photo, a completely different photo opens up! - and if I try to edit this photo, a third photo appears! Perhaps because my PC is naming the images with the same address? How do I fix this?