set maximum size of ModIMageView