working on coping with oversized images (fatal error)