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
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
Comment #1
zoo33 commentedI 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.
Comment #2
zoo33 commentedI 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.
Comment #3
crt commentedHello,
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
Comment #4
drewish commentedyeah _image_get_sizes() returns a keyed array now. the key is used rather than the label to select images.
Comment #5
zoo33 commentedI 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.
Comment #6
drewish commentedzoo33 i'd appreciate your feedback on: http://drupal.org/node/155313
Comment #7
(not verified) commented