On the forums here, the g3x expert described how to delete corrupted data files and re load them. I found instructions by searching with goole and specifying site:vansairforce.net
Save the image your computer. Correct the orientation in whatever program you use. I use Irfanview64. FYI, if you hold your phone vertically when you take a photo, it will likely be sideways when you post it to the forum, unless you correct the orientation.