limit popover image size