Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1177946

    Hey ya’ll,

    Been using Enfold forever, still love it! Recently was going through my uploads folder (I am a wedding/storm photographer, upload a ton of images) and realized that everytime I upload an image, 20 different versions get made at various sizes. Had over 600k images in there, got it cut back to about 80,000 after a lot of work :)

    So the functions.php has a big section that I commented out so it doesn’t create all those extra sizes…because honestly none of those are ever used from what I can tell.

    But it’s still creating six versions. I did change the actual Settings > Media in WordPress itself to only do a Large size 960 wide.

    So why is there also a 900×600,768×512,450×450, 450×300 and 360×240.

    Is this the theme or possible something else in a plugin, etc?

    Thank you!

    #1178508

    Hey MikeOlbinski,
    Sorry for the late reply, please try using the plugin Simple Image Sizes this will show you all of the image sizes from WordPress, Enfold, and any plugins and allow you to remove them.

    Best regards,
    Mike

    #1178543

    Thanks Mike,

    I tried that and it broke my site just now :( Plugin hasn’t been updated in 9 months and untested with current version. Any other ideas?

    #1178641

    Hi,
    I just tested and it’s working fine, but I don’t have 80k in images. This plugin uses a WP core function that doesn’t change so it doesn’t get updated often. The nice thing about the plugin was it listed all of the sizes in use. So for WP reserved sizes it is recommend to set them to zero to stop them from being created and for theme and plugin sizes you can unset them. Here is a good article about it.
    This user reported a function for removing all of the image sizes perhaps give it a try.

    Best regards,
    Mike

    #1178728

    Mike,

    It was a syntax error that was breaking the plugin for me. “Unexpected ‘ [ ‘ on line 8” or something like that.

    But I don’t need to get rid of old stuff, I did that already, I need to prevent it from creating 10 files everytime it uploads a new image. Right now it’s still making like 6-7 sizes that I don’t want. I just want the base file and then the 960xwhatever for blog posting.

    #1178965

    Hi,
    To remove the 7 sizes that you don’t want please see the article above it lists the functions to use to remove many of the common WordPress sizes, and in the section “Disable Other Sizes” it explains how to remove custom sizes. You already commented out the Enfold sizes and you said that is working correct?

    Best regards,
    Mike

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