Photoalbum go in sideways

I,m adding a photoalbum page to my website and the pictures look right in edit mode but flip 90 degrees sideways in preview mode. I’ve tried resizing and flipping them before importing, but the result is always the same. They’re jpegs…so I’m stumped. Anybody know how to fix this?

Were they take on an iPhone?

Yes…they were originally taken on an iPhone. I resurrected the old IPhone app on my computer yesterday, reentered the photos into that, and Rapidweaver finally liked them (added them right side up). My immediate problem is solved, but I still don’t know why going from iPhone to desktop and then into Rapidweaver didn’t work. Thanks for the feedback.