make smart image view support frame and mask