adding canonical field to ImageAssociation and setting some constraints