Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #22785

    Currently there are 17 image files created for every image I upload.  I have a blog where I use many images.  I am filling up my inodes with my hosting company with thousands of extra/unused images.

    I know that 3 of the 17 are from the WordPress default, which means 13 additional (not counting the original upload) are coming from Boldgrid.  I have checked the function.php file but I only see one thumbnail and no “add_image_size” so they are obviously being created from somewhere else.

    Questions:

    1. How can I determine which of the 17 I actually need (probably 3 or 4)?
    2. How do I disable the creation of the extra files (probably 10-13)?

    Thank you

    #22786
    Arnel C
    Member

    Hello, thanks for the question about the image files created!  The image files are created by both WordPress and the theme that you are using.  As you have ascertained, this can result in a large number of files being generated.  I looked around and found an answer from article.  As per the article, you can stop the generation of the extra images in the WordPress Media Settings and in the theme code.  However, it should be noted that WordPress and the themes use these images for various sections of the site.  For example, if you created a gallery, the thumbnails generated by the image gallery would not appear or work correctly because the gallery uses those images auto-generated when importing images into the media library.  This is the same with the theme.  You will need to determine what images you can keep and what images you can eliminate by reviewing the images that your site requires.  I hope that helps!  If you wish to avoid this issue, you may need to speak with your host to increase the inodes, or find a web host that does not have an issue with increasing the inodes.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Remove unused images files’ is closed to new replies.