when I upload pictures it said wrong picture My ver magento 2.3.5 1p
Solved! Go to Solution.
Hello @iyhamid
Okay got your screenshot, can you share what is image type you are uploading? or check your image size it should work.
Check here:
vendor/magento/framework/Image/Adapter/Gd2.php:64
if (!$filename || filesize($filename) === 0) {
throw new \InvalidArgumentException('Wrong file');
}
for your issue
Hello @iyhamid
I can not see your attached picture, can you please share it again. Thanks
Hello @iyhamid
Okay got your screenshot, can you share what is image type you are uploading? or check your image size it should work.
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.
Size is 84.0 KB (86,016 bytes)
Check here:
vendor/magento/framework/Image/Adapter/Gd2.php:64
if (!$filename || filesize($filename) === 0) {
throw new \InvalidArgumentException('Wrong file');
}
for your issue
Thank you Manish Very much greatly appreciated