Updated Answer
After doing more testing, the 300px size only gets generated when I have the official WooCommerce Brands plugin activated.
So 300px is the default WooCommerce image size when the standard sizes go undefined. See wc_get_image_size()
in \includes\wc-core-functions.php
.
It seems that at some point WC must have filled in the blank of a missing size and that setting got used.
My temporary solution is to deactivate the WooCommerce Brands plugin. Obviously this isn’t viable so I may have to report this bug…
Bug has been reported.
I talked with WooCommerce support and they’ve been able to replicate the issue and have created a bug report.
Related Posts:
- WordPress Theme Preview Image
- The the_post_thumbnail without srcset?
- Get the first image from post content (eg.: hotlinked images)
- How to modify an image block in Gutenberg WordPress 5?
- How can I set image sizes and still have responsive images using the srcset attribute?
- Add default Backgrounds
- Edit srcset and sizes attributes in Gutenberg image, cover and gallery – blocks
- wp_get_attachment_image_attributes not working for me
- Specify image dimensions
- How to get gallery images?
- Where do I find the functions triggered within a hook?
- add_image_size is scaling, even though crop is set to true
- Featured Image in 4.4 should be larger on mobile device
- How to use the responsive images feature from WP 4.4 in your themes
- Confused about image sizing business in WordPress
- Unexpected width and srcset attributes for the_post_thumbnail();
- How do I get gallery thumbnail URL and change the default thumbnail size?
- Responsive class to all the images in the content
- How wordpress handle upload images and how to use them in the code
- Replace Home with image link inside custom header menu
- Featured Image Size
- Writing Clean WooCommerce Styles
- How to set dimensions of the post thumbnails (featured images)
- Cannot update WordPress General Settings Site Title and Tagline
- Cannot get full thumbnail size using the_post_thumbnail
- How do I update WooCommerce template files in my theme? [closed]
- Unhook action from child theme
- wp_get_attachment_image_src() width and height boolean
- How to float an image in Gutenberg
- Custom Field returning Numerical Value for Image rather than URL
- How to call WooCommerce update cart function programatically
- Why an arugment is missing in wp_get_attachment_image_attributes?
- Reasons why all thumbnail sizes aren’t working
- How to make a local cache of mshots images
- How do I Add images uploaded in the post to a default custom field
- attachment.php code or tutorial
- Change “Thumbnail”, “Medium” and “Large” image sizes using functions.php?
- image url relative path not working in css file
- How to override checkbox styles if these inputs have a unique id [closed]
- Default image size not working
- Custom Field created in add_meta_boxes reappearing itself again in the default Custom Metabox
- How to add material design css in wordpress and woocommerce
- Storefront child theme not applying parent theme [closed]
- StoreFront product pages: Turn the Short Description section into a kindred tab section [closed]
- How can I fetch the WordPress cart errors normally displayed in woocommerce-error?
- page.php dependent sites are not working in custom woocommerce theme
- Zoom on custom theme without child
- WordPress Media Uploader in page template (On Front-end)
- Scroll to position on page for category pages only — woocommerce
- Responsive Images – crop don’t seem to work
- How do I include pre-installed images in a theme?
- Inserting images in multiple posts native gallery
- Can I get the ID of an inserted / linked image?
- Add attachment for all images in post
- Changing Header Image Every N Minutes/Seconds
- Do not display post images on front page
- What is the meaning of WordPress’s recommended css classes and where are they applied?
- Redirect to another page using contact form 7? [closed]
- Can’t remove DIV from hooks in Storefront child theme [closed]
- Integrate WooCommerce theme with a WordPress theme [closed]
- Gallery thumbnails very small
- Custom image size vs CSS sizing
- Getting Different Size Of Attachment Images
- In creating a theme, how can i allow a user to change an image outside post/page content?
- Change Responsive Images Maximum Width of 1600px
- What is the diferences between pure WordPress theme and Woocommerce theme? [closed]
- How to show a manageable list of images on a post?
- How To Pick Custom Size Of Uploaded Image In Theme Via the_post_thumbnail();?
- Change image size depending on page
- How to disable thumbnail filter for a specific template part or image size?
- How to obfuscate theme directory URLs
- Are seven additional image sizes are too many?
- Remove link on full-size images
- how to retrieve the image title for image Post Format
- why mytheme/single-product.php works but not mytheme/woocommerce/single-product.php
- Why does admin-ajax load slow and what are ways to speed it up?
- Adding an external link to product grid list pages for woocommerce
- Issue when posting updates/changes to wordress
- Want to add cart and a search bar in the right of logo line
- Theme logo metadata into template file
- WordPress creating images if uploaded image is greater than 960px on one side?
- Woocommerce Product attribute not imported with wordpress Importer [closed]
- How to fix WordPress images not showing up in local hosted XAMPP server?
- Add a field to the taxonomy editor?
- Change Image Sizes for Mobile Theme
- How to change order of elements using a child theme
- How to install Woocommerce without plugin?
- How can I add a single image from a gallery into the page header?
- How can i move my product name & price from below thumbnail to be the rollover content in Avada & Woocommerce?
- Isotope overlapping .items because of featured images – HELP! [closed]
- Custom Theme functions.php – Using add_settings_field and input type=”file” to set custom logo
- I want to resize post featured image without cropping image. How?
- Cart button not working on mobile version [closed]
- Add text when displying attribute with a hook on single product page
- How to enable wc_add_to_cart_message?
- Custom add to cart does not work well only on the first time
- WooCommerce custom add to cart buttons does not add products to cart if you’re logged out
- Convert base64 string to WordPress attachment uploads multiple images instead of a single one
- WP “optimizing” PNGs into thumbnails 5X larger than originals – FIX
- optimized PNGs 5X larger than originals