Viewing 23 posts - 1 through 23 (of 23 total)
  • Author
    Posts
  • #602157

    I have almost 27,000 files in a folder and my “unlimited” web host PowWeb is forcing me to trim it down- what can I do?
    …/wp/wp-content/uploads/2015/0

    #602172

    Hey Clifford!

    we can not help you much with that.
    You will have to upgrade to a bigger hosting package, as you have so many image files.

    Regards,
    Basilis

    #602176

    Hi Clifford!

    Thanks for getting in touch!

    27,000 file in the uploads file is a lot. Do you really need that many images on your server for your site? I would suggest backing up that folder somewhere and going through which of the files are really needed and are in use. Remove the files not needed off the server.

    Let me know if there is anything else you need assistance with.

    Regards,
    Jordan

    #602184

    I never uploaded that many files- there are tons of duplicates and different sizes I never created. Enfold has something to do with it I am pretty sure-
    C

    #603666

    Hi!

    You can add following code to Functions.php file in Appearance > Editor to disable regenerating of images in different sizes

    function ava_image_sizes() { 
    	remove_image_size('masonry');
    	remove_image_size('magazine');
    	remove_image_size('widget');
    	remove_image_size('featured');
    	remove_image_size('featured_large');
    	remove_image_size('extra_large');
    	remove_image_size('portfolio_small');
    	remove_image_size('gallery');
    	remove_image_size('entry_with_sidebar');
    	remove_image_size('entry_without_sidebar');
    	remove_image_size('square');
    }
    add_action( 'after_setup_theme', 'ava_image_sizes', 11 );

    Best regards,
    Yigit

    #612524

    Well now my host has deleted the contents of the directory. This blows. Looking for another host it seems most limit file count per single directory. Why does Enfold need to create extra files?? If anyone knows a host that can deal with the file numbers Enfold creates let me know.
    C

    #612747

    Hey C!

    I could recommend https://www.siteground.com/ :)

    Regards,
    Yigit

    #613119

    I signed up with SG- they seem awesome- thanks! 150K file limit, cust support was great- disconnected chat they connected me back to same agent right away, etc.
    C

    • This reply was modified 8 years, 7 months ago by cnovey.
    #613137

    Hi

    Glad you are satisfied.
    We will be happy to assist you further with it, if we can

    Thanks a lot for your patience and time

    Regards,
    Basilis

    #613142

    SG has 150K file limit per dir and said they would not delete without communicating first. I am counting on them being helpful and understanding if I ran into that situation. I feel like SG would actually try to help with the issue. Time will tell- thanks again- you guys are also awesome!
    C

    #613155

    Actually appears files were not deleted yet but Masonry galleries are all broken now- can you assist?
    Thx
    C

    #614693

    Hi!

    Well now my host has deleted the contents of the directory. This blows.

    It’s possibly because of that. Could you please provide a link to the page? A screenshot will help. The theme generates thumbnails so that it doesn’t need to use the original image size for every image element on the page. It will speed up page load and in turn improve your search engine rankings.

    Best regards,
    Ismael

    #615091

    now it is working again….
    thanks

    • This reply was modified 8 years, 7 months ago by cnovey.
    #615093

    Is there any way to split the distribution of the current images on the backend so I do not have <20K files in that one directory?

    #615108

    Hi!

    You could use a wordpress folder management plugin https://wordpress.org/plugins/tags/file-manager
    Please note we haven’t tested them on our installation but i think this type of plugin could come handy for you.

    Best regards,
    Vinay

    #615119

    Well if you test one let me know. I do not have the skills to repair things if a tool messes things up.
    C

    #616533

    Hey!

    The plugins may perform differently on different sites as each site share different settings and how it performs on the number of images a site has that is the reason we cannot vouch for any third party plugins.

    Regards,
    Vinay

    #623467

    Well, what determines when Enfold decides to start using a new folder to store images? Date uploaded? Month? Something else? If I could understand how to preventt so many files going into one folder that would bee a help.
    Thanks
    C

    #625153

    Hi,

    WordPress does move the files to month/date folders by default, that’s set in Settings > Media, Enfold does multiple versions of the image but you can remove/change that with this code in theme / child theme functions.php

    function ava_image_sizes() { 
    	add_image_size('masonry', 0, 0);
    	add_image_size('magazine', 0, 0);
    	add_image_size('widget', 0, 0);
    	add_image_size('featured', 0, 0);
    	add_image_size('featured_large', 0, 0);
    	add_image_size('extra_large', 0, 0);
    	add_image_size('portfolio_small', 0, 0);
    	add_image_size('gallery', 0, 0);
    	add_image_size('entry_with_sidebar', 0, 0);
    	add_image_size('entry_without_sidebar', 0, 0);
    	add_image_size('square', 0, 0);
    }
    add_action( 'after_setup_theme', 'ava_image_sizes', 11 );
    

    Best regards,
    Josue

    #629556

    Thanks Josue. Will this remove images or only affect uploads moving forward?
    Also- what happens if you do not organize by date? Does everything go in one folder or unique folder for every upload?
    Thanks.
    Clifford

    #629581

    1. Won’t remove anything, it will only affect new uploads.
    2. Yes, the upload folder would be /wp-content/uploads/

    Best regards,
    Josue

    #630941

    1- I was hoping to delete media gallery by gallery but edit gallery just spins never allows edit. If the edit did show up can I delete the gallery pics there as well as from media?
    2- How does Enfold decide when to start a new folder? If I create galleries on different days will that do it? Or is it by month or some other criteria?
    Thx

    #631282

    Hi,

    1. Deleting it from a Gallery element won’t remove it unless you do it from Media.

    2. Enfold does not create folders for file uploads, that’s entitled to WordPress -which by default- will create folders using the current date the file is uploaded.

    Best regards,
    Josue

Viewing 23 posts - 1 through 23 (of 23 total)
  • You must be logged in to reply to this topic.