support large images. closes #9