I have finally completed my site, byrdlab.org, and I spent some time making sure the Twitter card showed a photo & showed appropriate text.
I have come to learn that if one sends the URL by iOS, that same preview photo is rotated 90 degrees.
I sought to get answers at the Academic support site, but it appears that recent posts have gone unanswered (community perhaps too small to effectively address questions, unfortunately).
Any advice on repairing the appearance of the iOS preview photo is greatly appreciated!
Thank you! I don’t think it’s an issue per se (issue is probably between keyboard & chair ) & the community chat appears to be a bit of a ghost town with respect to answers. I think the last answer provided to someone was August 2.
A colleague texted the URL for the site to someone, and what appeared on the iPhone was a 90-degree rotated version of the photo I selected as the Twitter card for this site
From briefly looking over this it looks like it uses the open graph metadata on your page. So I think just make sure you have open graph tags set up properly. That link I included explains it more thoroughly.
Ok, that would imply it’s something in the card code, or, the image itself. If Hugo is modifying (mostly resizing I would assume) the image, it is possible Hugo is causing the problem but I think you’ll need to experiment (I guess that goes for Twitter modifying the image as well). An image can be rotated correctly in the first place, or, it can appear rotated due to display code respecting EXIF properties.