adding gd support (for image cropping)