The new GF 2.9 adds 3 new thumbnails - Can someone offer code to stop them from being created

Please do not delete my thread. I need help with this. Can anyone please provide code that will prevent your plugin from generating all these thumbnails? Is there a way to turn this off? It has been 1+ month and no solution? I understand that you plan on fixing this in the future but this is such a waste of space for all your users until this is fixed. If anyone can offer a snippet of code to prevent gravity forms from creating these 3 image thumbnails, please and thank you.

The new GF 2.9 adds 3 new thumbnails to be generated for every image uploaded without using GF. This happens without using gravity forms or activating the new Image Choice option in a form.

These are the new thumbnails:
Gform-image-choice-sm ( 300 × 300 )
Gform-image-choice-md ( 400 × 400 )
Gform-image-choice-lg ( 600 × 600 )

How do you turn this off. This should only be registed to create new thumbnails if you use these featured. These 3 thumbnails alone will created TBs of useless thumbnails to be created. I dont want to have create a filter for every website I use to remove this.

This should stop them:

add_filter('gform_image_sizes', '__return_empty_array');

Alternatively, if you have EWWW Image Optimizer, you can disable those sizes in that plugin’s settings.

1 Like

Thank you for taking the time to address this. Would be cool if they implemented this into plugin. Sloppy IMO.

Also, curious to know when this going to be fixed as official release so I don’t have to apply updates to 100 websites.

Thank you.

Hi, strid3r. The product team has been working on this, and it’s close. It did not make it into 2.9.2, released today, but I expect it will be in the next release, 2.9.3. There is no release date set for 2.9.3 at this time but it should be soon.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.