adding options to center an image in editor