jasper1106 said
Hi guys,
This problem is driving me crazy, Wordpress seems to crop images from the center instead of the top left. When making portfolio items using the TF Wordpress themes this makes for a crazy display. I’ve tried multiple plugins and editing the media.php file directly but nothing seems to work. I’m running WP 3 .3.1 and just wondered if this behavior is enforced by the TF theme?
Can anyone point me in the right direction?
Thanks a lot!
Yes it’s enforced by theme, and in places where that image is displayed you should see something like the_post_thumbnail(‘somethinghere’)
Also in functions.php there are functions which sets size of uploaded images and it’s crop status:
http://codex.wordpress.org/Function_Reference/add_image_size
As you can see on this example add_image_size( ‘homepage-thumb’, 220, 180, true ) there is 4th parameter for cropping, false = Soft proportional crop mode and true = Hard crop mode.
/ewizz