1. Home
  2. Knowledge Base
  3. WooCommerce Product Table
  4. Troubleshooting

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 ecommerce product table, try adding the following CSS to your Customiser or child theme:

.wpt-dataview .table-cell.col-image img {
    width: auto;
}

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

The CSS on this page is for the current table frontend. If your site is still in legacy mode, use the older selectors that start with .wc-product-table.

Related Articles

If searching the knowledge base hasn't answered your question, please contact support.