Ok so i read a forum somewhere... that gave instructions on how to hardcode change the maximum image upload global values for "featured image" for woo commerce products, from a max of 3000px width and height so that I could restrict vendors from uploading large images. So I changed the values to 500px wide X 600px high, and it works like magic!!! BUT now I need to change it back and I've forgotten which file I changed due to a computer dying on me..... AAAAARG does anyone know where these settings live in the wordpress structure so I can reverse it back to 3000px X 3000px?
Ok so i read a forum somewhere... that gave instructions on how to hardcode change the maximum image upload global values for "featured image" for woo commerce products, from a max of 3000px width and height so that I could restrict vendors from uploading large images. So I changed the values to 500px wide X 600px high, and it works like magic!!! BUT now I need to change it back and I've forgotten which file I changed due to a computer dying on me..... AAAAARG does anyone know where these settings live in the wordpress structure so I can reverse it back to 3000px X 3000px?
It's set at the PHP level. In php.ini
there's a line like
upload_max_filesize = 64M
which you may need to add or change. The file is at the root of your site, and might have to be added if it isn't there already.
It's also possible to limit the size via the .htaccess
file (which the web server looks at, and again is at the root of your site).
Also, this is a blanket limit, so if you wanted the limits to vary by role you'd probably need a plugin.