cancel
Showing results for 
Search instead for 
Did you mean: 

upload pictures

SOLVED

upload pictures

when I upload pictures it said wrong picture My ver magento 2.3.5 1ppic_error.JPG

2 ACCEPTED SOLUTIONS

Accepted Solutions

Re: upload pictures

Hello @iyhamid 

 

Okay got your screenshot, can you share what is image type you are uploading? or check your image size it should work.

Manish Mittal
https://www.manishmittal.com/

View solution in original post

Re: upload pictures

@iyhamid 

 

Check here:

vendor/magento/framework/Image/Adapter/Gd2.php:64

if (!$filename || filesize($filename) === 0) {
        throw new \InvalidArgumentException('Wrong file');
    }

for your issue 

Manish Mittal
https://www.manishmittal.com/

View solution in original post

7 REPLIES 7

Re: upload pictures

Hello @iyhamid 

 

I can not see your attached picture, can you please share it again. Thanks

Manish Mittal
https://www.manishmittal.com/

Re: upload pictures

Hello @iyhamid 

 

Okay got your screenshot, can you share what is image type you are uploading? or check your image size it should work.

Manish Mittal
https://www.manishmittal.com/

Re: upload pictures

I tried JEPG, JPG and PNG no luke sorry for the delay


@Manish Mittal wrote:

Hello @iyhamid 

 

Okay got your screenshot, can you share what is image type you are uploading? or check your image size it should work.


 

Re: upload pictures

@iyhamid 

 

are you trying with any large image?

Manish Mittal
https://www.manishmittal.com/

Re: upload pictures

Size is 84.0 KB (86,016 bytes)

Re: upload pictures

@iyhamid 

 

Check here:

vendor/magento/framework/Image/Adapter/Gd2.php:64

if (!$filename || filesize($filename) === 0) {
        throw new \InvalidArgumentException('Wrong file');
    }

for your issue 

Manish Mittal
https://www.manishmittal.com/

Re: upload pictures

Thank you Manish Very much greatly appreciated