Title: [Plugin: Simple Image Sizes] Crop from top
Last modified: August 20, 2016

---

# [Plugin: Simple Image Sizes] Crop from top

 *  Resolved [chillmen](https://wordpress.org/support/users/chillmen/)
 * (@chillmen)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-simple-image-sizes-crop-from-top/)
 * First thank you very much for this free and great plugin. Merci Beaucoup
    I have
   one question if you can help! I need to **crop images** from **top** during the
   process of regeneration. Is it possible?
 * [http://wordpress.org/extend/plugins/simple-image-sizes/](http://wordpress.org/extend/plugins/simple-image-sizes/)

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

 *  Plugin Author [Nicolas Juen](https://wordpress.org/support/users/rahe/)
 * (@rahe)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-simple-image-sizes-crop-from-top/#post-2633487)
 * Hi,
    This part of WordPress is not ( for now ) editable, so the images are always
   cropped the same way… 😉
 * Rahe
 *  Thread Starter [chillmen](https://wordpress.org/support/users/chillmen/)
 * (@chillmen)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-simple-image-sizes-crop-from-top/#post-2633540)
 * Thanks for responding Rahe
 *  [Joe Banks](https://wordpress.org/support/users/joenasagrc/)
 * (@joenasagrc)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-simple-image-sizes-crop-from-top/#post-2633588)
 * Pardon if you’ve already aware:
 * Your best bet, chillmen, is to re-upload the original image with different cropping,
   easily done with the Enable Media Replace plug-in, especially as one becomes 
   more and more familiar with how WordPress crops.
    [http://wordpress.org/extend/plugins/enable-media-replace/](http://wordpress.org/extend/plugins/enable-media-replace/)
 * BTW, Rahe, your Simple Image Sizes plug-in, is on our internal “Crucial for CMS”
   plugin list, especially on multisite installs!
 *  Thread Starter [chillmen](https://wordpress.org/support/users/chillmen/)
 * (@chillmen)
 * [14 years ago](https://wordpress.org/support/topic/plugin-simple-image-sizes-crop-from-top/#post-2633611)
 * Well i found a better (hack) solution for cropping images from top:
    open the
   file media.php (this file is inside wp-includes) Find this lines:
 *     ```
       $s_x = floor( ($orig_w - $crop_w) / 2 );
             $s_y = floor( ($orig_h - $crop_h) / 2 );
       ```
   
 * and replace with this:
 *     ```
       $s_x = floor( ($orig_w - $crop_w) / 2 );
             $s_y = 0; //floor( ($orig_h - $crop_h) / 2 );
       ```
   
 * And start the regeneration process.
 * I found this solution here : [link](http://shailan.com/781/how-to-change-post-thumbnail-crop-position-in-wordpress/)
 *  Plugin Author [Nicolas Juen](https://wordpress.org/support/users/rahe/)
 * (@rahe)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/plugin-simple-image-sizes-crop-from-top/#post-2633666)
 * Hi,
 * If you want to crop form a special position, then use wpThumb plugin for this:
   [Wp Thumb](http://wordpress.org/extend/plugins/wp-thumb/)
 * Regards,
    Rahe

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

The topic ‘[Plugin: Simple Image Sizes] Crop from top’ is closed to new replies.

 * ![](https://ps.w.org/simple-image-sizes/assets/icon-256x256.jpg?rev=3506203)
 * [Simple Image Sizes](https://wordpress.org/plugins/simple-image-sizes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-image-sizes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-image-sizes/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-image-sizes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-image-sizes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-image-sizes/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Nicolas Juen](https://wordpress.org/support/users/rahe/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/plugin-simple-image-sizes-crop-from-top/#post-2633666)
 * Status: resolved