1179 posts
  • Exclusive Author
  • Interviewed on the Envato Notes blog
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Referred between 200 and 499 users
  • Has been a member for 6-7 years
mabuc says

I’ve been using post thumbnail in WordPress but I don’t know how to cut the image properly.. it’s automatically re-size to the given values.. like images with people, heads are being cut.. How do I properly cut it? anyone can help me.. :)

thanks

3069 posts
  • Has been a member for 6-7 years
  • Won a Competition
  • Sold between 50 000 and 100 000 dollars
  • Bought between 10 and 49 items
  • Referred between 50 and 99 users
  • Exclusive Author
  • Romania
wickedpixel says

You need to set it not to crop. Something like :

add_image_size(‘thumbnail’, 300, 300, false);

That false parameter tells not to crop the images.

1179 posts
  • Exclusive Author
  • Interviewed on the Envato Notes blog
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Referred between 200 and 499 users
  • Has been a member for 6-7 years
mabuc says

I never tried that.. but the dimension (300×300) still works on this? so is it advisable to use false instead of true?

3069 posts
  • Has been a member for 6-7 years
  • Won a Competition
  • Sold between 50 000 and 100 000 dollars
  • Bought between 10 and 49 items
  • Referred between 50 and 99 users
  • Exclusive Author
  • Romania
wickedpixel says

Any size works like that. the important thing is to set the crop off. http://codex.wordpress.org/Function_Reference/add_image_size

1179 posts
  • Exclusive Author
  • Interviewed on the Envato Notes blog
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Referred between 200 and 499 users
  • Has been a member for 6-7 years
mabuc says

oh thank you very much..

48 posts Umbrella
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Author had a File in an Envato Bundle
  • Exclusive Author
  • Has been a member for 1-2 years
  • Europe
  • Bought between 10 and 49 items
  • Referred between 10 and 49 users
UmbrellaStudios says

Just be careful wit that.Use it only on thumbnails otherwise if you get cropped images and display them on Portfolio or any slider you can end up with a frustrated buyer because his work is not showing up completelly.

On those cases i would suggest this jQuery plugin – http://code.google.com/p/jquery-imagefit-plugin/

by
by
by
by
by
by