enabled max size of 1000 pixels