-
AuthorPosts
-
March 22, 2016 at 10:04 pm #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/0March 22, 2016 at 10:18 pm #602172Hey 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,
BasilisMarch 22, 2016 at 10:21 pm #602176Hi 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,
JordanMarch 22, 2016 at 10:30 pm #602184I 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-
CMarch 25, 2016 at 4:53 pm #603666Hi!
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,
YigitApril 13, 2016 at 9:53 am #612524Well 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.
CApril 13, 2016 at 2:01 pm #612747April 13, 2016 at 7:21 pm #613119I 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, 8 months ago by cnovey.
April 13, 2016 at 7:32 pm #613137Hi
Glad you are satisfied.
We will be happy to assist you further with it, if we canThanks a lot for your patience and time
Regards,
BasilisApril 13, 2016 at 7:35 pm #613142SG 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!
CApril 13, 2016 at 7:51 pm #613155Actually appears files were not deleted yet but Masonry galleries are all broken now- can you assist?
Thx
CApril 15, 2016 at 10:17 am #614693Hi!
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,
IsmaelApril 15, 2016 at 7:38 pm #615091now it is working again….
thanks- This reply was modified 8 years, 8 months ago by cnovey.
April 15, 2016 at 7:40 pm #615093Is 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?
April 15, 2016 at 8:06 pm #615108Hi!
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,
VinayApril 15, 2016 at 8:18 pm #615119Well if you test one let me know. I do not have the skills to repair things if a tool messes things up.
CApril 18, 2016 at 2:51 pm #616533Hey!
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,
VinayApril 28, 2016 at 4:29 am #623467Well, 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
CApril 30, 2016 at 11:18 pm #625153Hi,
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,
JosueMay 10, 2016 at 1:33 am #629556Thanks 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.
CliffordMay 10, 2016 at 4:23 am #6295811. Won’t remove anything, it will only affect new uploads.
2. Yes, the upload folder would be/wp-content/uploads/
Best regards,
JosueMay 11, 2016 at 8:20 pm #6309411- 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?
ThxMay 12, 2016 at 11:53 am #631282Hi,
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 -
AuthorPosts
- You must be logged in to reply to this topic.