Image Rotation

Code to automatically generate a rotated image upon image add or edit.
Useful for the colorways page so user only has to upload one image
(horizontal)