Got image rewriting working so all posts will use the Tanzawa standard photo insert...and noticed a bug when I import images.

Photos taken with an iPhone rely on the exif data to indicate the proper orientation. However, I strip all exif data from photos when I save them for saving size and enhancing privacy....

No exif data to orient the image and vertical images appear sideways. ย The solution is simple: ย rotate the image before stripping / extracting the exif data. Thankfully the fix is simple.