Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How can I rotate a jpg file without saving it first

  • 1 reply
  • 1 has this problem
  • 1 view
  • Last reply by cor-el

more options

I frequently have to view student's work uploaded as jpg files, and often they have uploaded the file sideways or upside down. Is there a way to rotate the file without saving it to my computer first (like we can with a pdf file)

I frequently have to view student's work uploaded as jpg files, and often they have uploaded the file sideways or upside down. Is there a way to rotate the file without saving it to my computer first (like we can with a pdf file)

All Replies (1)

more options

It is possible to rotate the image via CSS with img {-moz-transform: rotate(90deg);} (90deg, -90deg, 180deg) if you open the image in a tab via the right-click context menu (middle-click View Image).

You can do that with bookmarklets like these (doesn't work via the location, but does via the Scratchpad, Shift+F4):


javascript:(function(){var doc=document,css=doc.createElement('LINK');css.rel='stylesheet';css.type='text/css';css.href='data:text/css,img {-moz-transform: rotate(90deg);}';doc.documentElement.childNodes[0].appendChild(css);})();

javascript:(function(){var doc=document,css=doc.createElement('LINK');css.rel='stylesheet';css.type='text/css';css.href='data:text/css,img {-moz-transform: rotate(-90deg);}';doc.documentElement.childNodes[0].appendChild(css);})();

Modified by cor-el