Resized images don't work
-
Pasting the image in ends up with this markupdownleftright:
![0_1461280657866_upload-337bdcd6-2cae-4d8c-9a06-85f40bc05633](/uploads/files/1461280666690-upload-337bdcd6-2cae-4d8c-9a06-85f40bc05633-resized)
which shows as a broken image in preview:
and nothing in the post:
Removing the
-resized
:
-
Ayup. Tried that locally and got:
error: [plugins] filter:image.resize, Command failed: convert.im6: invalid argument for option `-resize': 760xundefined^ @ error/convert.c/ConvertImageCommand/2382.
The plugin isn't getting the
height
. But time for for me. Maybe @ben_lubar can figure the rest out tonight...
-
@loopback0 @boomzilla should be fixed now. Added to the PR.
-
-
@ben_lubar Yup, seems to be working.
-
@ben_lubar You're still trying to use
height
.crop(data.width, data.height)
...and I get this:
error: [plugins] filter:image.resize, Command failed: convert.im6: invalid argument for option `-crop': 760xundefined+0+0 @ error/convert.c/ConvertImageCommand/1093.
-
@boomzilla weird, I wonder why it worked for the image I uploaded.
-
@ben_lubar Dunno. I haven't looked at the generic upload code. Maybe sometimes there's a height and sometimes there isn't?