XF 2.0 How to include custom image files in an addon?

Hi!

I have custom image files that I want install to XenForo as part of my addon.
Where do I put these image files in the addon directory?
And how do I specify to what file location they are uploaded, when the addon is installed?

Best regards,
Tommi
 
Thanks!
Do I put the build.json file in the addon main directory?
Where should I copy the images from the addon in build.js?
There is by default no "images" directory under XenForo root directory.
Should I create a new directory, or is there a better place to put the images by default?
 
I put build.json file into my addon folder but nothing happened. It looks like this:

Code:
{
    "additional_files": [
        "assets/addons/smg/imageextractor"
    ]
}

Is something wrong here?
 
Top Bottom