Posted By

adiacone on 04/13/12


Tagged

image wordpress


Versions (?)

Crop medium thumbnail in WordPress


 / Published in: PHP
 

URL: http://stackoverflow.com/questions/3454337/crop-thumbnail-to-exact-dimensions-on-wordpress-for-medium-size

Add this bit of code to functions.php

  1. if (get_option('medium_crop') === false) {
  2. add_option('medium_crop, '1');
  3. } else {
  4. update_option('medium_crop', '1');
  5. }

Report this snippet  

You need to login to post a comment.