change image max size for science