Title: Restrict Thumbnail Creation
Last modified: January 21, 2018

---

# Restrict Thumbnail Creation

 *  Resolved [amitgupta7](https://wordpress.org/support/users/amitgupta7/)
 * (@amitgupta7)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/restrict-thumbnail-creation/)
 * Hi there,
 * WPRM is auto creating 3 thumbnails:
    wprm-metadata-1_1 (Additional, 500×500 pixel,
   crop) wprm-metadata-4_3 (Additional, 500×375 pixel, crop) wprm-metadata-16_9 (
   Additional, 480×270 pixel, crop)
 * However I am not sure if these are actually being used anywhere since all images
   displayed are smaller. I want to turn creation of these thumbnails off as it 
   is unnecessary, leads to more images hence more unnecessary overheads (space 
   utilization, backup size & time, optimizations, webp conversions and more).
 * Can you pls. tell us:
    1. Where these 3 sizes are being rendered on UI? (if they
   are being used) 2. How to turn them off? I could not find anything in settings.
   In case you provide a code change please specific with details.
 * Thanks a lot in advance!
 * Cheers,
    Amit

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Brecht](https://wordpress.org/support/users/brechtvds/)
 * (@brechtvds)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/restrict-thumbnail-creation/#post-9887287)
 * Hi Amit,
 * We use those image sizes in the metadata. Google recommends having those exact
   image sizes in the metadata so it can use the best format for each situation (
   rich snippet, carousel, mobile).
 * So it’s good for SEO and we highly recommend keeping those thumbnail sizes. You
   could use a plugin like [https://wordpress.org/plugins/fly-dynamic-image-resizer/](https://wordpress.org/plugins/fly-dynamic-image-resizer/)
   to not have WordPress generate those thumbnails for anything else but the recipe
   images.
 * Kind regards,
    Brecht
 *  Thread Starter [amitgupta7](https://wordpress.org/support/users/amitgupta7/)
 * (@amitgupta7)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/restrict-thumbnail-creation/#post-9888715)
 * Thanks for your reply Brecht.
 * I checked out Fly Dynamic Image Resizer. Unfortunately it providers no settings
   option. So i can’t choose/restrict which images to generate dynamically.
 * My issue right now is that because of WPRM my website is creating 3 additional
   images of EVERY image that I upload (and 95% of these are specific to the post
   and not particularly to WP Recipe Maker section). The additional 3 images generated
   by WPRM Metadata are unnecessary. Further, when I choose to turn on Retina, each
   of these 3 images will be duplicated (i.e. 6x) and when I generate WEBP then 
   again all these additional files will be duplicated (i.e. 12x). This is a HUGE
   strain on my storage, CPU and image conversion for files that I am not using.(
   This is effectively creating more unused files for me than those in actual use).
 * I need to turn off WPRM custom images. Requesting you to suggest a solution not
   dependent on an additional plugin. I respect / understand the SEO implications
   you mentioned, but I will manage that.
 * Thanks in advance!
 * Regards,
    Amit
 *  Plugin Author [Brecht](https://wordpress.org/support/users/brechtvds/)
 * (@brechtvds)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/restrict-thumbnail-creation/#post-9888836)
 * I recommend against is, but you can add the following code to your theme’s functions.
   php file to not have it generate those thumbnails:
 *     ```
       function wprm_remove_metadata_image_sizes() {
       	remove_action( 'after_setup_theme', array( 'WPRM_Metadata', 'metadata_image_sizes' ) );
       }
       add_action( 'after_setup_theme', 'wprm_remove_metadata_image_sizes', 9 );
       ```
   
 * For anyone else reading this: these are 3 really small images so the impact on
   storage will not be an issue for most people and if it is the Fly plugin mentioned
   above will solve this for you. I highly recommend not using this code for SEO
   reasons.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Restrict Thumbnail Creation’ is closed to new replies.

 * ![](https://ps.w.org/wp-recipe-maker/assets/icon-256x256.png?rev=2967063)
 * [WP Recipe Maker](https://wordpress.org/plugins/wp-recipe-maker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-recipe-maker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-recipe-maker/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-recipe-maker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-recipe-maker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-recipe-maker/reviews/)

## Tags

 * [recipe maker](https://wordpress.org/support/topic-tag/recipe-maker/)
 * [thumbnails](https://wordpress.org/support/topic-tag/thumbnails/)

 * 3 replies
 * 2 participants
 * Last reply from: [Brecht](https://wordpress.org/support/users/brechtvds/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/restrict-thumbnail-creation/#post-9888836)
 * Status: resolved