fixed rotation on images for dirac
merged branches