- This topic has 7 replies, 2 voices, and was last updated 4 years, 3 months ago by Tom.
July 1, 2017 at 12:31 am #342348Birgit
I’m not sure if my problem is owed to GP, WordPress or Envira. On my private side there are many photos, of which WordPress (or Envira or GP) always creates countless additional photos in sizes that I do not use at all. These photos are also recognized as “Unreferenced Unused Images” by the “Image Cleanup” plugin. I can delete them in painstaking work, but after a few days they are all back again.
Wordpress has the command not to create more photos in sizes that do not match the original size, Envira says it’s on WordPress. Has anyone still this problem or does anyone know remedy? I am adding a link to a screenshotof ImageCleanup:
Now I found this: http://enviragallery.com/how-to-stop-wordpress-from-generating-image-sizes/ and it seems I have to perform step 3, but I’m using a child-theme. If I edit the original functions.php, the changes can be released again in future updates. What can I do now?
Greetings from Germany
BirgitGP Premium 1.3.1July 1, 2017 at 6:10 am #342418TomLead DeveloperLead Developer
GP will generate images if you have a height or width set in Customize > Blog > Featured Images.
Other than that, WordPress creates about 3 image sizes per image.
Step 3 shouldn’t be necessary, as GP doesn’t create any sizes like that.July 1, 2017 at 10:00 am #342498Birgit
thanks for answering!
In GP height and width were “Auto”, is that the reason for creating images in different sizes? I set them on “0” now, is that correct?July 1, 2017 at 11:59 pm #342736TomLead DeveloperLead DeveloperJuly 2, 2017 at 12:08 am #342742Birgit
Both were set to Auto. But who could create these additional images? Yesterday I deleted more than 3000 images, today there are more than 300 unused images again. WordPress not creates more photos in sizes that do not match the original size. I’m helpless…July 2, 2017 at 8:40 am #342862TomLead DeveloperLead Developer
It’s hard to tell – it could be a plugin you’re using. Maybe a custom function?
Are they being created all the time, or only sometimes?July 2, 2017 at 10:55 am #342958Birgit
Unfortunately all the time, Tom, and on different websites/URLs.July 2, 2017 at 11:20 am #342981TomLead DeveloperLead Developer
If they’re happening all the time, try deactivating your plugins. Do they stop? Now activate each plugin one by one until they start generating again.
- You must be logged in to reply to this topic.