Is there a way to force all photo file attachments to display vertically?

  • 1
  • 2
  • Question
  • Updated 11 months ago
  • Answered
Title says it all.

Currently I have users uploading photos off their phones but im running into an issue where some of the photos are displaying horizontally.

Is there an easy way to either force all photos to display vertically or letting users set the orientation of the photo?

My current Richtext formula field is as follows:

"<div><img src=\""&URLRoot()&"up/"& Dbid() & "/a/r"& [Record ID] 
&"/exx/v0\" height=400;width=400;></div>"

I did foolishly tried rotate=90; but...yea thats not a thing haha
Photo of Giuseppe macri

Giuseppe macri

  • 636 Points 500 badge 2x thumb

Posted 11 months ago

  • 1
  • 2
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 29,904 Points 20k badge 2x thumb
transform is a thing:

style='transform: rotate(90deg);'