• Resolved wowitmoves

    (@wowitmoves)


    Is it possible to disable the automatic creation of Woocommerce’s own thumbnail sizes for “regular” non-store related media? So to speak, to seperate “store images” from the rest?

    Background: our blog posts are very image heavy and since Woocommerce’s thumbnails are also automatically created for every single of them, we’re wasting a lot of disk space.

    Help is much appreciated!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @wowitmoves,

    That’s an excellent idea. Unfortunately, I don’t know of a simple way to do that. WooCommerce makes use of the set_image_size() function in WordPress to add the image sizes necessary for products. That function is then applied to all image uploads as you’ve observed.

    I did find this Stack Exchange thread that may be helpful for you. I don’t know if this will be possible, but it’s worth a shot.

    https://wordpress.stackexchange.com/questions/4563/add-image-size-for-specific-post-types

    Take care

    Thread Starter wowitmoves

    (@wowitmoves)

    Okay, I understand why it is difficult to distinguish or “split” the image sizes to be created.

    Too bad nothing has happened in the linked Stack Exchange thread and the discussions linked there again for years. A way to somehow control, what kind of thumbnails are created for individual contexts could be a great way to save a lot of resources.

    Hey @wowitmoves,

    It would be a good way to save on server space especially. Even though those threads are old, these functions have been around for years so the code should still be relevant. If you don’t find a solution you like, you could always hire a developer to create one for you.

    https://woocommerce.com/codeable/

    Thanks!

    Thread Starter wowitmoves

    (@wowitmoves)

    Thank you!

    Yes, it would probably be wise to hire a developer, I must admit, this is far beyond my capabilities. ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Disable Woocommerce Thumbnail sizes for non-shop-related media?’ is closed to new replies.