1. Home
  2. Documentation
  3. WooCommerce Product Table
  4. Troubleshooting
  5. Using SVG images in your product tables

Using SVG images in your product tables

WordPress doesn’t currently support SVG images for security reasons. However, it’s possible you’ve allowed their use on your website by changing the supported MIME types via a filter.

If your SVG product images are not displaying in the product tables, try adding the following CSS to your Customiser or child theme:

.wc-product-table img.product-table-image {
    width: auto;
}

This should force the image width to be the correct size and override the width attribute on the img tag.

Was this article helpful?

Related Articles