These are some quick and dirty JavaScript bookmarklets for resizing and rotating images in FireFox. The first two just resize the first image in the page to fit the desired dimension. The bookmarklets involving rotation accomplish that feat by using Canvas objects, which is a fairly recent addition to FireFox, and so might not work if you don't have a fairly recent FireFox. Note that these bookmarklets operate on the first image in the page, which is often not the one you think it is. For best results, right click on the image and select the "View Image" menu item, then use the bookmarklets.

Incidentally, you can test these bookmarklets on the FireFox logo below. The rotation bookmarklets will not work on the image in place!

Fit-to-Width Scale the image to be the width of the browser viewing area
Fit-to-Height Scale the image to be the height of the browser viewing area
Rotate and Fit-to-Window Rotates the image 90° clock-wise and maximize the scale to fit in the browser viewing area
Rotate and Fit-to-Width Rotates the image 90° clock-wise and maximize the scale to fit the width of the browser viewing area
Rotate and Fit-to-Height Rotates the image 90° clock-wise and maximize the scale to fit the height of the browser viewing area
Rotate and Fit-to-Double-Width Rotates the image 90° clock-wise and maximize the scale to fit half the image width to the width of the browser viewing area

Drag the bookmarklets that you want into your toolbar or somewhere in your bookmarks.

Also, you can view this page as a FireFox bookmark file, ready to import.