Skip to main content
Question

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


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
This topic has been closed for replies.

transform is a thing:

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

would i just append that to the end of the width portion of the code?

I barely pass as a script kiddie so if this seems overly simple i apologize.

Edit#2: If you could make a button that would rotate the photo, how would you go about doing it?