This is image cropping and mysql class