cancel
Showing results for 
Search instead for 
Did you mean: 

upload pictures

SOLVED
Highlighted

upload pictures

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

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted

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

Highlighted

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
Highlighted

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/
Highlighted

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

Highlighted

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.


 

Highlighted

Re: upload pictures

@iyhamid 

 

are you trying with any large image?

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

Re: upload pictures

Size is 84.0 KB (86,016 bytes)

Highlighted

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

Highlighted

Re: upload pictures

Thank you Manish Very much greatly appreciated