Gallery Theme Errors

Hi i am getting gallery theme errors after upload of image, when trying to crop and resize

I don’t see the crop tool at all, and after trying to “resize” and save i get

Warning imagecreatetruecolor function.iimagecreatetruecolor invalid dimensions ../gallery/functions/ line 2135

this is even after uploading an image of the correct dimensions