cancel
Showing results for 
Search instead for 
Did you mean: 

Magento ver. 2.1.17 - Issue facing in product image upload

Magento ver. 2.1.17 - Issue facing in product image upload

Hi

I'm facing an issue in product image upload from admin side. I've installed Magento ver. 2.1.17 in my localhost and PHP version using is PHP Version 7.0.33-7+ubuntu18.04.1+deb.sury.org+1. Whenever I try to upload image from admin side showing error "Invalid image dimensions.". I tried with different dimensions. Also tried all possible methods to resolve it. But nothing works. Please help me to resolve it.

 

Thanks in advance

 

Avitha

3 REPLIES 3

Re: Magento ver. 2.1.17 - Issue facing in product image upload

Hello @avitha 

 

vendor/magento/framework/Image/Adapter/AbstractAdapter.php error coming from this file.

 

can you please check and debug more on this.

 

 


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: Magento ver. 2.1.17 - Issue facing in product image upload

Thank you for reply..

Yes, the exception.log file showing like this,
main.CRITICAL: Exception: Invalid image dimensions. in vendor/magento/framework/Image/Adapter/AbstractAdapter.php:620

Re: Magento ver. 2.1.17 - Issue facing in product image upload

Hi @avitha 

 

Here I found a solution. I hope it will work for you. You need to change the image upload dimensions in Magento.

 

Thanks

--

If my answer is useful, please Accept as Solution & give Kudos