When editing the javascript image crop effect for one of my image styles in Drupal 7, I choose.

x offset: center
y offset: top

it always generates the following "Y offset must be a correct offset value"
Choosing bottom produces the same error, it seems I can only choose center for the y offset value.

Comments

rgon’s picture

I can confirm this. I'm also getting the same error when using 'top' or 'bottom' in the Y offset.

billy999’s picture

I can say, since i needed 'top', i simply changed it to 0, which worked for me. However if someone needs to use bottom, that would not work for them.

nils.destoop’s picture

Status: Active » Fixed

Top / bottom is now allowed in the validation

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.