Is there anyway to integrate this module with smart crop. The dream scenario would be that if a selection is not made with Imagefield Focus, then Smart Crop would be used as a catch all. This could give end users the best of both worlds.

http://drupal.org/project/smartcrop

Comments

anrikun’s picture

See the todo list on the project page:
this will be possible once I've added the option to leave the image unchanged if no focus data is available.
Smartcrop could process the image then if set after Focus Scale And Crop.

bryancasler’s picture

Amazing, thanks for the quick response!

bleen’s picture

....Any way to use the smart crop algorithm to "preset" the focus crop rect?

anrikun’s picture

This would be great too (but I have no idea if it's possible or not)
8-|

Anonymous’s picture

subscribe

nasi’s picture

subscribe

anrikun’s picture

Status: Active » Needs review

SmartCrop integration is now in dev.
Please review it.

anrikun’s picture

Version: 6.x-1.1 » 6.x-1.3
Status: Needs review » Fixed

This is now in new 6.x-1.3.

sauce71’s picture

Great! Will go into two of my projects imediately.

anrikun’s picture

Title: Smart crop integration » Smart crop integration done: seeking someone to write a handbook!
Category: feature » task
Status: Fixed » Active

I'm seeking someone who could write a nice handbook/doc page about using ImageField Focus and Smart Crop together.

bleen’s picture

anrikun: .. what *is* the right way to use the two together?

anrikun’s picture

This is as written if the description of this feature request:

The dream scenario would be that if a selection is not made with Imagefield Focus, then Smart Crop would be used as a catch all. This could give end users the best of both worlds.

This has also be added on the project page:

New! Integrates with Smart Crop
By default, Focus Scale And Crop performs a standard Scale and Crop when no focus data is available for the image. But if the Smart Crop module is available, an extra option will show up allowing you to set Scale and Smart Crop as the fallback action instead.

What would be great is a handbook/tutorial with some concrete cases showing what can be done with ImageField Focus and ImageField Focus + Smart Crop.