Hello,

After I upgraded image module to version 5.x-1.3, image enhanced scaling module does not work.
I use drupal 5.1, and image enhanced scaling 5.x-1.2.

Thanks for the help.
Zoli

Comments

zoo33’s picture

I will investigate this. However it would be useful to know what exactly isn't working. I suspect issue 143828 may have something to do with it though.

zoo33’s picture

I will investigate this. However it would be useful to know what exactly isn't working. I suspect issue 143828 may have something to do with it though.

crt’s picture

Hello,

So, when I upload a new image (or I remove preview and thumbnail files) and those are regenerated, sharpening doesn't apply. In the new version of the image module 'label' => 'preview' was changed to 'label' => t('Preview'), so I think that is the cause of the problem.

I have rewritten $size['label'] variable to $size_key in rows 123, 152, 157 and it seems to work fine.

I'm not a programmer and I don't know how to make a patch file, but I hope it's will be good this way too.

Regards,
Zoli

drewish’s picture

yeah _image_get_sizes() returns a keyed array now. the key is used rather than the label to select images.

zoo33’s picture

Status: Active » Fixed

I just comitted a new version with a somewhat reworked version of your fix. Thanks for your help! And please test the -dev version if you can. A new release is coming, I just want to look at a few other things first.

drewish’s picture

zoo33 i'd appreciate your feedback on: http://drupal.org/node/155313

Anonymous’s picture

Status: Fixed » Closed (fixed)