I have uploaded 8 images from my computer. On my computer they are correctly oriented.
When I upload them to the files area in my Canvas course, four of them are correctly oriented but the other four are sideways.
All the images are of the same width and height - 240 x 320.
Why would Canvas be rotating them for no apparent reason...?