Add ImageAlignment extension