Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I've searched high and low for this but think the answer I seek is being buried by the more common questions.

I am developing a theme for a client that has two specific image sizes (100x127 for thumbnail, 300x380 for medium). I have the media settings cropping like this when an image is uploaded, but if the user goes in to edit a thumbnail it doesn't re-crop to the sizes specified in media settings.

What I am ideally looking for is either a plugin or something I can add to functions.php that will restrict the crop "draw" feature to the aspect ratio and then when the crop button is hit, will automatically resize the thumbnail to 100x127.

Does anything like this exist? I don't even want the end user to have the option of entering in custom pixel sizes or aspect ratios. I'd rather that menu went away entirely.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

There is a very good plugin that I believe covers all you are looking for, and more: Scissors Continued. I've been using it extensively on several websites, and recommend it.

share|improve this answer
    
This plug is great for thumbnail, but it doesn't respect the input sizes for medium and large images; it only give you options for full, large-feature or small-feature, neither of which are defined in my settings. Is there a trick to getting the medium and large sizes to work as well? –  Kristina Childs Oct 5 '12 at 23:01
    
it also doesn't resize the image to the original settings. It keeps the aspect ratio, but the actual dimensions shift depending on how you draw it. –  Kristina Childs Oct 5 '12 at 23:16
    
well now that i have it immplemetned it seems to be displaying correctly. strange, though, that in the media library the dims are all varied. hmm.. well i guess i won't worry about it again until it stops working client-side! thanks :) –  Kristina Childs Oct 12 '12 at 19:46

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.