I write a blog, using Firefox under the current version of Ubuntu, apparently 22.04.1 LTS, in which I include a lot of photos taken at various angles on my Samsung Galaxy A10e. The phone's camera application registers orientation by assigning each photo a height and a width. Yesterday I noticed that when uploading a photo to my blog, it arrived oriented landscape; I had to "modify" it back to its original orientation in GNOME Image Viewer. Today Image Viewer also opened four old photos, all portrait, as landscape. My blog doesn't have a way to change orientation; Image Viewer does, but I have to save the "new" (i.e. original) orientation, thus marking the photo as "modified", which is sub-optimal since my blog is journalistic. In Windows, I don't keep a blog, but Windows's picture viewer today renders a new portrait photo as portrait, whereas Image Viewer today renders the same photo as landscape whether I get the photo to the laptop by drag-and-drop or by right click and "Move to". So Image Viewer has now shown me six portrait photos as landscape, and somehow Firefox and my blogging platform have seen one of those the same way. This isn't how things were before yesterday, and I don't see how it can possibly be an improvement. How can I find out what broke, whether I can fix it, and if so how?
Blog, in case it matters: https://myseattleparksdiary.blogspot.com/. The latest post, written and posted last night, includes two photos taken yesterday, oriented portrait; the first one worked normally, the second was the first of the six with which I've so far had this problem.
Turns out checking the "Automatic orientation" box in GNOME Image Viewer kept it from mangling more photos' orientations, but this box was checked when the problem started, so this isn't the whole story. Photos I'd looked at between posting the original question and re-checking that box still have messed-up orientation.