set exact size for medium picture