If I keep running into a technical problem and it is annoying enough for me to throw together a solution, then I’m certain there are others who would appreciate a workaround as well. In this case, any pictures someone sends to my Gmail from an iOS device are rotated 90 degrees to the left. The in-message preview looks fine, but if I open up the detail view, they are inevitably sideways. Odd that it only seems to be a problem for Apple devices…
So I put together this userscript which rotates the image 90 degrees clockwise each time it is clicked. It’s a quick and dirty solution, for sure, but it beats craning my neck just to view attached images. Should work for Chrome natively and Firefox with GreaseMonkey, but let me know if you try and have any issues.
You can download/install it here.
Edit 01/26/12: Google recently changed the subdomain used to view image attachments. Script updated to work on new subdomain.
I’d been using the image rotator for a few months, and then suddenly it stopped working. I’ve removed it and re-downloaded it from your link, above, but it still doesn’t work. Any help?
This is using Chrome.
I made some tweaks about a month ago. Let me make sure it’s still working for me.
Aha – looks like Google changed the subdomain used for viewing image attachments. Updated the script. Should work again now.
It does! Thanks so much!
Thank you!
I tried this. Works great in Chrome. In FF the default click is ‘actual size’ (the cursor becomes a little magnifying-glass with a plus-sign in the lens). Any way to over-ride the actual-size function?
It is installed correctly using GM.
Yeah I see that it’s still not working in FF. I even threw an alert() in there, and it doesn’t seem the script is firing at all for me with Greasemonkey. I’ll see if I can get it working.
Hmm I’m not sure what the problem is, Seth. The script won’t fire off for me at all using Greasemonkey. I even copied some examples from userscripts.org, and still nothing.
If anyone wants to tweak it so it works with Greasemonkey, that would be awesome.
I tried this with Firefox 8.0 and Greasemonkey and it didn’t seem to work. Is it just me?
I haven’t tried that setup yet. (Chrome is my main browser.) I’ll try to mess with it in the next few days. Thanks for the heads up.
Well you are correct, Chris. Turns out I accidentally overwrote the script at that URL back in September. No wonder it wasn’t working for you. Fixing now!
[...] on an attached image, it opens in a new window, but roated 90° left. Henk van Ess http://tydelong.wordpress.com/20… – elaborate solution (with Greasemonkey) , but it works.This answer .Please specify the necessary [...]
Finally. This has been annoying me forever. Thank you so much for posting this script!
So glad someone else can put it to use :) If I get a few more together, I’ll start posting them on userscripts.org. Didn’t want to open an account for just one, though.