I would remove the image sizes that you don’t need.
function remove_image_sizes() {
remove_image_size('image-name');
}
add_action('init', 'remove_image_sizes', 99);
Whilst the number of images is a factor, I’d also look at the image compression as this may be a big help in reducing the disk space required:
add_filter('jpeg_quality', function($arg){return 70;});
You will need to re-generate your images for this to take effect. Try the Regenerate Thumbnails plugin. Alternatively, you can run a command line like convert.
Here’s a guide: https://www.howtogeek.com/109369/how-to-quickly-resize-convert-modify-images-from-the-linux-terminal/
One final method to remove the WordPress default images is to set the dimensions to 0, as per this article;
Related Posts:
- WooCommerce single products images doesn’t zoom on hover and doesn’t change clicking on gallery
- woocommerce image product add a class and data-src attributes
- Image is not displayed in overridden woocommerce email
- WordPress Twenty Seventeen header image size not responsive for mobile
- How to upload images from wordpress front-end (the first image must be thumbnail and the rest without first must be in gallery woocommerce product)
- How to delete 1000s of duplicated images in WordPress?
- Some images aren’t shown on wordpress after installation on host
- Add custom CSS class to product images
- Woocommerce product image [closed]
- How do I make the product image smaller on a WooCommerce product page?
- Updating product image
- Images not uploading on product page of woocommercr
- How to solve `Error getting remote image` in woocommerce rest api script?
- Images not showing on site – Even though they are there
- Delete product image using WooCommerce API?
- Set Post Thumbnail to external URL
- Titles with thumbnails in media library
- WordPress pointing animated GIF images with wrong file name upon upload (GIFs animation not working)
- Blurry product card image – rendered is 486×452 vs 300×279 in real image. Smaller versions being autocreated and served using srcset
- Export Woocomerce Image Product URL
- How do I get my image for my product to not be blurry
- Woocommerce Gallery Image Caption: Use “caption” — not “alt tag”. Keep alt tag as is
- Woocommerce get category image full size
- Share users and WooCommerce memberships between two installations
- Show only geolocated user country into Woocommerce checkout country fields
- Add product attribute to Woocommerce’s blocks in Gutenberg
- The correct way to override WooCommerce product gallery from a plugin [closed]
- How to have specific prices for some particular pin codes in woocommerce? [closed]
- How do I get the latest note on the order at woocommerce? [closed]
- Woocommerce Login Redirect not working [closed]
- global $post; in WooCommerce
- Woocommerce template single-product.php in theme folder not working
- How can i create a WooCommerce product programatically or using sql query?
- Is it safe to update WooCommerce data update?
- Output JSON object with woocommerce products
- Fatal Error in WordPress WooCommerce theme “Call to undefined function wc_get_theme_slug_for_templates()”
- Problems adding in-store product managers
- differentiate hooks and filters on the same page [closed]
- Signup Form that adds customer to MailChimp, redirects to checkout, and fills in form data
- how to pass a woocommerce product name to contact form7 [closed]
- Woocommerce Subscription Pricing/Billing Schedule
- ‘profile_update’ hook alternative for WooCommerce user meta data
- How to add a user custom field into Woocommerce emails?
- Automatically running Scheduled Actions
- Hook to use when customer placing order
- Woocommerce Rest Api Categories problem [closed]
- wc-ajax=get_variation slow speed in WooCommerce
- One file for all virtual, downloadable product variations [closed]
- WooCommerce Tax Filter Not Fired [closed]
- woocommerce – customise notice error in checkout page
- Using a filter to change a path
- Woocommerce, prevent login after registration and redirect to custom URL
- Order with custom order status disappeared once the page is refreshed
- WooCommerce Product detail page: Add content under thumbnails [closed]
- How to add product filter dropdown in woo commerce order page?
- How to make a custom button that redirects to a “user specified link while entering product details” woocommerce
- Unable to paste google analytics con header.php [closed]
- wordpress/woocommerce login url not redirecting correctly
- Add Attribute to Woocommerce programatically, doesn’t display front end [closed]
- How do i make this snippet work for order history page woocomerce
- Set QTY to 0 With WP All Import from CSV
- Link a button to woofunnels model
- Woocommerce – Add additional item if some item wants to be added to the cart?
- Hook “wp_trash_post” executing multiple time in case of bulk trash products
- WooCommerce Subscriptions: Hide one variation subscription
- Contact form 7 send product PDF after submit
- Add sub variations in product page
- validation field form registration vendor dokan woocommerce
- Delete unpublished woocommerce products
- List of JS events in the WooCommerce frontend
- Woocommerce / Product Columns on Shop Loop / Responsive
- I’m getting error Ultimate WooCommerce Filters
- No Results in WooCommerce Product Search
- WooCommerce Product Search box with 3 dropdown menus
- Split taxonomies on different pages
- woocommerce REST api on the website’s front-end
- Can’t add Select2 to select in variable product (admin)
- How to do_action after some plugin{woocs} loaded?
- How can I change field values of posts before displaying
- Url parameter going to 404 not found
- Working with a json feed & trying to figure out how best to import
- Editing fields required in the WooCommerce / WordPress registration form [closed]
- WC Booking query bookings with date ranges
- How to change “add to basket” button text in WooCommerce based on product category?
- Select all product woocommerce
- Woocommerce REST API: creating variations
- How to check which shortcode is using my template?
- woocommerce: when adding or removing items to cart , it takes cart a few seconds to read changes?
- When to use a child theme for WooCommerce Storefront?
- WooCommerce: Bulk Quantity in Cart
- Remove Span Class From Woocommerce Price
- Woocommerce shows empty columns [closed]
- Product atributes in title of order (not in description)
- How to create custome pdf file of my invioice in wordpress
- How to get sub items of parent menu item?
- WordPress and WooCommerce How to Assign Attribute Based Pricing
- WooCommerce remove billing detail completly
- unable to get product by category only getting product added lastly
- Storefront Child Theme show product attribute [closed]
- Make Admin Side Fields Mandatory/Required