Home Forums WC Vendors Pro Support Product image sizes Reply To: Product image sizes

Elsa Soares


Congratulations @ryank and @ben.

This subject is crucial and very important because images are the first to sell, being important to keep the site looking consistent.

With the code referenced in https://gist.github.com/anonymous/1cf5ddc6ac1e9abd2d38 we are almost there, that is, the only aspect missing is the vendor being able to load the banner and the store icon with different dimensions.

Changing to:

if (is_page_template(‘product-edit.php’)) {
add_action( ‘admin_init’, ‘block_vendors_from_uploading_images’ );

…is not working, because like that vendors are able to upload any image size.

I am very grateful if you can indicate me the missing piece of the puzzle. 🙂


This website uses cookies to ensure you get the best experience on our website.