• Hi,

    Whenever I upload an image WP is creating many duplicates in several sizes (file.jpg, file-100×75.jpg, file-120×90.jpg, file-150×150.jpg, file-185×161.jpg, file-195×110.jpg, .. and so on). On average between 7 and 12 duplicates are generated.

    However in settings > media only defines 3 image sises (thumbnail, medium, large).

    I also reverted my them to ‘twenty-ten’ (to see if my theme was causing this). That didn’t make a difference.

    No other image plugins are active.

    I’d really like to only have 3 versions of each image (this is creating too many files and eating up diskspace)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Walter81

    (@walter81)

    Found it! it was the theme after all (only strange that changing themes didn’t make a change.

    For those with the same issue: in the theme’s folder > file functions.php a bunch of ‘add_image_size()’ were added.

    Similar problem with “Responsive” theme (creating seven additional image files). Found several forum topics about this issue; but, your thread had the clue.

    In a more remote file

    /wp-content/themes/responsive/core/includes/functions-extentions.php

    …I found the responsive_add_image_size() function (note that fxn is prefixed with theme’s name), which made multiple calls to the same function:

    add_image_size()

    Thanks for posting (your own!) solution.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP creates many image duplicates on upload’ is closed to new replies.