Hi,
I cannot upload images for new products or existing ones. All will show the error screenshot below.
Also, when I check on DevTools the data-url showing as below.
This problem only happens when I upload images on a new product or edit an existing product.
I have tried the methods below:
1. Change the pub/media folder permission.
Thanks in advance!
Hi,
same issue i am facing did you got any solution please share
Hello @tbnplitgma3e64
Check File and Folder Permissions: Make sure the pub/media and var directories are writable.
find var pub/static pub/media app/etc -type f -exec chmod 644 {} \;
find var pub/static pub/media app/etc -type d -exec chmod 755 {} \;
chmod -R 777 var pub/static pub/media
Check PHP Settings:
upload_max_filesize = 10M
post_max_size = 20M
max_execution_time = 180
Increase the values if necessary.
Restart your web server after making changes to php.ini.
Hope it helps !
If you find our reply helpful, please give us kudos.
A Leading Magento Development Agency That Delivers Powerful Results, Innovation, and Secure Digital Transformation.
WebDesk Solution Support Team
Get a Free Quote | | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789
Thank You,
WebDesk Solution Support Team
Get a Free Quote | Email | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789
Location: 150 King St. W. Toronto, ON M5H 1J9