Rotate pictures from the backend

Pictures can now be rotated from the backend to avoid having to re-upload them.