Suffix on Resize problem
YosaRama opened this issue · 1 comments
YosaRama commented
Thanks for amazing package, I have a little problem about suffix, i want to resize image to multiple size, this is my code :
the result what i got on S3 like this :
the problem is no type on my uploaded file, I've try add static extension on suffix like
{suffix : "1920px.jpg"}
it's work !, but i need extension with dynamic responsibility
I've to try use file.originamname for Key but the output something like :
suffix print after the extension
my expectation for output is "<filename>-<suffix>.<extension>"
, How do I got this output ?
Thanks !
ikhsanalatsary commented
Thank you for addressing this, I already published 0.2.2 to npm. I think #40 fixes this problem. And let me know if not 😄