title: changing the wordpress gallery image size default
body: <p>I was wondering if any could help on my problem</p>
  
  <p>I have this code from someone that runs fine except that the size does not function, default is always on "thumbnail"</p>
  
  <pre><code>function my_gallery_default_type_set_link( $settings ) {
      $settings['galleryDefaults']['link'] = 'file';
      $settings['galleryDefaults']['columns'] = '4';
      $settings['galleryDefaults']['size'] = 'large';
      return $settings;
  }
  add_filter( 'media_view_settings', 'my_gallery_default_type_set_link');
  </code></pre>
  
  <p>how can I make this always in large as a default?</p>