• Resolved webmaster52

    (@webmaster52)


    Hi there, please can you give me some guidance on an issue with my client’s website.

    He has a wedding photography website, https://simplyphotographic.co.uk, and is using Woocommerce plugins as well as the Woocommerce Photography plugin.

    There is a page which is a Client Area, where wedding couples can log in and purchase images from their wedding. Problem is, I need to delete at least 70GB of images from this area, as the site is falling over.

    Deleting an image from the Client Area doesn’t, of course, delete it from the site or the WP Media Library, so it’s still taking up space on the server which we don’t have.

    Someone posted a code snippet ‘Delete Woocommerce product images after product deletion’ to put in the functions.php file or use the Code Snippets plugin. But I don’t want to delete all the images in the Client Area – just 70GB of the ones we don’t want, but keep around 1GB we do want.

    What is the best/correct way to go about this, please? Could I do it via the database/sql? There’s nothing I can use by way of a plugin, even something like the spreadheet ones, as the site is almost at a standstill and timing out constantly. And of course, deleting thousands of images manually will take me the rest of this year at least! Cheers, James.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Saif

    (@babylon1999)

    Hello @webmaster52,

    Deleting an image from the Client Area doesn’t, of course, delete it from the site or the WP Media Library, so it’s still taking up space on the server which we don’t have.

    I understand how annoying this can be, but I don’t believe it’s something related to WooCommerce.

    Could you please elaborate more on the setup you have behind that client page once someone enters their password?

    It would also be great if you can attach some screenshots while blurring any sensitive information.

    Look forward to hearing back from you.

    Roxy

    (@roxannestoltz)

    Hi James,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if you need any further help with this.

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Deleting 70GB of woocommerce images’ is closed to new replies.