first, I’m french, so please my apologies for my bad english, I also had a serious stroke twenty years ago, so it’s quite difficult for me to understand new tools ( despite this, I still have somme good knowledge in php, html, mysql, css and javascript ) but I have some problems to understand how works quill and modules, by example, I would like to add an image resizer module, but I don’t succed.. Coul someone please help me, and show me the right way to do this kind of things ? ( with a piece of code by example, it should be very nice of uou)
Many thanks in advance,
Guillaume.
I have tried some tutoriel on internet but I don’t succed/ understand with those .. So I turn to you. Thanks in advance.
Guillaume.
2
Answers
Hello SmellyCat2 and all, thanks for your quick answer, I will try all you say by the future, if I understand google traduction..! smile.. ( I have, by example some trouble to understand what you mean by " triple-back-ticks ( to post some code ..) btw, my current problem is : I just can't resize an image, because I can't install the module and I don't know how to do it. any help with a code example please? ( thanks in advance, Guillaume yes, I think I got the "triple back-ticks " !
is it correct ? :) ( I guess yes ! :p ) Here is my current code :
And if I try to add resize module, by this way :
the image' luploader option disappears.. so my problem is there, any help with that please ? :)
thanks in advance, Guillaume
To create a module in Node.js, you will need the exports keyword. This keyword tells Node.js that the function can be used outside the module.