upload images and macros