A micro patch attached that changes template_preprocess_filefield_insert_widget(), because the following makes no sense:

        if (isset($action['data']['width']) || isset($action['data']['width'])) {

and should clearly be:

        if (isset($action['data']['width']) || isset($action['data']['height'])) {

Presumably this could lead to issues with presets where only a height is defined, if not fixed.

CommentFileSizeAuthor
width-width_to_width-height_micro.patch915 bytesadrinux
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

quicksketch’s picture

Status: Needs review » Fixed

Thanks, committed!

Status: Fixed » Closed (fixed)

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