I have installed patch SUPEE-9767 on 188.8.131.52 store, Now the new products images is having a black color around it. I attached a sample product image.
I have tried this fix
but the problem is after I update the new code in Validator/Image.php I cannot upload images from the admin, I can use the browse button and click Upload but after that it's just showing 'uploading' forever
Would some one advice me how to fix this issue