P O

Forum Replies Created

Viewing 15 posts - 31 through 45 (of 392 total)
  • Author
    Posts
  • in reply to: Delete unused images #536675

    P O
    Expired Member
    Post count: 501
    This reply has been marked as private.
    in reply to: Delete unused images #536674

    P O
    Expired Member
    Post count: 501

    I just tried it and nothing happens. Everything exactly the same.

    All code is shown in the PHP, so something is not correct.

    Thanks.

    in reply to: Delete unused images #536672

    P O
    Expired Member
    Post count: 501

    Hello.

    Which images will be deleted?

    image-02-36×36.jpg
    image-02-80×80.jpg
    image-02-120×120.jpg
    image-02-180×180.jpg
    image-02-260×185.jpg
    image-02-300×200.jpg
    image-02-450×300.jpg
    image-02-450×450.jpg
    image-02-495×400.jpg
    image-02-705×470.jpg
    image-02-710×375.jpg
    image-02-768×512.jpg
    image-02-845×321.jpg
    image-02-845×684.jpg
    image-02-1030×687.jpg
    image-02-1200×423.jpg
    image-02-1200×430.jpg
    image-02-1200×630.jpg
    image-02.jpg

    Will this remove it from GD and from FTP?

    This PHP works with any Enfold + GD site?

    Thank you.

    in reply to: Delete unused images #536234

    P O
    Expired Member
    Post count: 501
    This reply has been marked as private.
    in reply to: Delete unused images #535842

    P O
    Expired Member
    Post count: 501

    Separate image type date is saved in meta of main image. So deleting image type from folder will not delete data from meta.

    And that meta how can be deleted?

    This is only possible way for now. Not sure if any third party plugin available to delete image type only.

    Plugins work perfectly with library media, but as GD hides that, none of them work.

    Having to go manually to delete 50,000 images because GD don’t let you manage anything and hides all, is not good.

    You should implement a way to manage this, I have over 10GB of files for nothing. Stored in database and in FTP. Just because GD saves it and that’s it.

    And now I will have to spend days fixing the problem GD has.

    Thanks.

    in reply to: Delete unused images #535835

    P O
    Expired Member
    Post count: 501

    I think you are saying about unused image types. Unused image & unused image are different.

    I am saying what is above.

    I upload image.jpg and 15 extra images are created and GD is saving them for nothing.

    Only one way to delete those “image types” is to delete it manually from folder.

    1- And GD does not have them in the database even if I delete them?

    2- So I have to go to the FTP and delete 50,000 images one by one ?

    Thanks.

    in reply to: Delete unused images #535831

    P O
    Expired Member
    Post count: 501

    I know the normal image is used.

    image.jpg

    Not used and stored by GD in their own table, not accesible and for nothing but consuming space:

    image-200×200.jpg
    image-300×300.jpg
    image-800×300.jpg
    image-1600×900.jpg
    image-100×200.jpg
    image-400×600.jpg
    image-900×300.jpg
    image-500×500.jpg

    Knowing which are the ones not used and stored by GD, how can I delete all unused images?

    Thanks.

    in reply to: Delete unused images #535829

    P O
    Expired Member
    Post count: 501

    How can I delete all unused images?

    Not Used Images.

    Thanks.

    in reply to: Delete unused images #535814

    P O
    Expired Member
    Post count: 501

    If ( portfolio, magazine, accordions, gallery, masonry ) images sizes are defined in WordPress. every new post image will get cropped in those sizes.
    there is an only possible way to not allow those images from creation is to remove the add_image_size() function call for those sizes.

    Why is GD saving 15 image sizes it will never use?
    How can I delete all unused images?

    How you found that GD storing it without any public access?

    Just publish a place with 40 images, go to library and just the featured one is there.

    The other 39 are not, so you can’t clean the library.

    How can I delete all unused images?

    Could you also share FTP and Site details so we can check it from our side?

    What for? The problem is clearly explained.

    Thanks.

    in reply to: Delete unused images #535808

    P O
    Expired Member
    Post count: 501

    Hello Naveen.

    In WordPress we define sizes using add_image_size function. Generally, images sizes are defined in the theme function.php
    https://developer.wordpress.org/reference/functions/add_image_size/

    This function itself does not have any check for the post type.
    So if a size got added using it. It will be applicable to all the uploaded images on WordPress.

    Yes, that is what I said the problem is.

    Enfold theme generates different image sizes when a new post is made. This happens when a new place is published as well.

    Enfold creates images for portfolio, gallery, masonry, magazine, and so on.

    Why is GD saving that sizes if those will never in life be used?

    And

    If you want to delete unused images. you can follow this article.
    https://wpengine.com/resources/wordpress-media-library-clean-up/

    Also I already said:

    I can use Simple Image Sizes plugin and Regenerate Thumbnails plugins to do the task, the problem is that this only affects Featured Images, because GD hides all other existing images and those are not present in the library or registered anywhere.

    So, if I disable 8 sizes using Simple Image Sizes plugin.

    How can I delete them?

    So we both said the same and the problem is:

    GD is saving images for portfolio, magazine, accordions, gallery, masonry and so on.

    Those images will never be used, GD is storing them itself without access to them.

    As there is no access to them, you can’t clean the library, because the images are not there.

    Please let me know how to delete all unused images.

    Thanks.

    in reply to: Delete unused images #535752

    P O
    Expired Member
    Post count: 501

    Anything about this?

    I really need to empty the extra GB that GD is keeping there for nothing.

    Thanks.

    in reply to: Delete unused images #535415

    P O
    Expired Member
    Post count: 501

    There are 15 image sizes per image.
    1 place with 20 images = 300 images.
    200 places = 60,000 images.

    I don’t need that, I need 3 sizes only, everything else needs to be deleted.

    Enfold creates images for portfolio, gallery, masonry, magazine, and so on.

    Why is GD saving that sizes if those will never in life be used?

    So I need to delete all unused images, please let me know how.

    Thanks.

    in reply to: E_COMPILE_ERROR in geodir_location_manager.php #528343

    P O
    Expired Member
    Post count: 501

    Since WordPress 5.2 it sends emails with the problems and errors. So I receive it in my inbox, WordPress telling there is a problem.

    Thanks.

    in reply to: E_COMPILE_ERROR in geodir_location_manager.php #528324

    P O
    Expired Member
    Post count: 501

    I haven’t tested. Maybe adding new places, editing them or do any action involved with location.

    You can test all of them to see if there are more problems.

    Thanks.

    in reply to: Message for Stiofan O'Connor #528287

    P O
    Expired Member
    Post count: 501
    This reply has been marked as private.
Viewing 15 posts - 31 through 45 (of 392 total)