Thank you! I did manage to register upload.js function to strapi and it seems to work, but now I’m left with image-manipulation.js file, which I don’t know how to register. I can’t upload any pictures because program crashes when trying to find functions that are defined in image-manipulation.js code. Do you have any idea how do I register that file to strapi?
const {
getDimensions,
generateBase64,
generateThumbnail,
generateWebpFormat,
generateResponsiveFormats,
} = strapi.plugin('upload').service('image-manipulation');
This is the code where I try to access image-manipulation functions.