bfintal / bfi_thumb

WP Image Resizer & a replacement for Timthumb. Extends and uses the default capabilities of WordPress' Image Editors to add some basic Timthumb capabilities.
http://bfintal.github.com/bfi_thumb/
GNU General Public License v3.0
206 stars 53 forks source link

Crop Position #4

Open yumyo opened 10 years ago

yumyo commented 10 years ago

Perfect lib, I'm just missing the ability to set a crop position (top, bottom, etc.) or offset.

teamcrisis commented 10 years ago

I'm looking for a similar feature..

bitcommit commented 10 years ago

Hello, I'm voting for this feature too!

We definitely need the ability to set the crop position.

Here are some links that can help implementing this: http://stephanis.info/2012/06/21/how-to-change-post-thumbnail-crop-position-in-wordpress-without-hacking-core/

See example on the codex on how to crop top part of image instead of default center: http://codex.wordpress.org/Plugin_API/Filter_Reference/image_resize_dimensions#Example

bicho44 commented 10 years ago

Yeah! I need this too

juanvillegas commented 10 years ago

me too!

qwertydude commented 10 years ago

Plus one here too

nathanaelphilip commented 10 years ago

Is the author still supporting this script?

qwertydude commented 9 years ago

Not sure! So I hacked mine up to add focal point by extending another fork. Focal point kinda is like the OP requested but much more flexible. I also added an option to flush the cache.

It does require me to tidy a few loose ends, one of them being to add the focal point setting code to BFI, but I must pull my finger out and post it as a fork.

ghost commented 9 years ago

That's right. Perferct cropping as I want is something which is missed in BFI.

I Could crom an image in exact middle using ZC parameter like:

/thumb.php?src=/images/image.jpg&h=50&w=50&zc=2&q=90