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
- 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
- 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
- Unexpected width and srcset attributes for the_post_thumbnail();
- 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
- How do I update WooCommerce template files in my theme? [closed]
- 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
- 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
- image url relative path not working in css file
- How to override checkbox styles if these inputs have a unique id [closed]
- 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]
- page.php dependent sites are not working in custom woocommerce theme
- Zoom on custom theme without child
- Scroll to position on page for category pages only — woocommerce
- Responsive Images – crop don’t seem to work
- Inserting images in multiple posts native gallery
- Can I get the ID of an inserted / linked image?
- Add attachment for all images in post
- What is the meaning of WordPress’s recommended css classes and where are they applied?
- Redirect to another page using contact form 7? [closed]
- Integrate WooCommerce theme with a WordPress theme [closed]
- Gallery thumbnails very small
- Custom image size vs CSS sizing
- 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 Pick Custom Size Of Uploaded Image In Theme Via the_post_thumbnail();?
- Change image size depending on page
- How to obfuscate theme directory URLs
- 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?
- Change Image Sizes for Mobile Theme
- Stop WordPress from showing images on non post pages
- How to make excerpt image be full size instead of thumbnail?
- How to add cropped custom header image?
- Is there a way to serve different resolution images to different devices?
- Add image URL automatically to custom field?
- How can I remove image taxonomy pages from my theme and from Google?
- Dynamic Image Links Depending on Excerpt/’Single Post’ View
- how to add a badge on product based on filter?
- ACF get_sub_field ALT TAG in the repeater doesn’t show
- WordPress Animation Adjustments
- theme directory fallback image outputs url and not the image
- Post Featured Image Custom Sizing?
- How do I make my terms for each product display via foreach loop? (woocommerce)
- Best way to declare product variables in woocommerce theme development?
- Alter shop page lay-out in OceanWP theme
- Image cropping isn’t working correctly when using Offload Media
- Is it possible to echo a woocommerce prouct attribute discription?
- the_content() not displaying description correctly
- How to add an image to a theme page template in code?
- Woocommerce REST API for my account & checkout process
- How to show Custom Field Value in Woocommerce Shop Page
- How to fix a conflict cause by my theme with Woocommerce and/or Gravity Forms?
- Responsive Images with art direction
- Customizer Image-Picker Preview Not Working
- Can’t upload images on new theme
- image sizes – finding and removing
- Adding a Class to an Getting From Post Content
- Woocommerce Theme Reviews / Comments
- Create image with imagepng() (fails at header)
- How do I keep images in posts below a certain size without editing the post?
- Any disadvandages if I style the wordpress align classes without img and .wp-caption prefix
- the_post_thumbnail fetches wrong image
- Pagination adds product to cart Woo-Commerce
- 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