Added function to change image transform