Mine are in sites/moodle/moodledata/number
As far as I know, each course is assigned a number in the moodledata folder.
Use files to create a folder. Move your files to the folder.
Choose resource->link to file, browse and choose.
A lot of my old .gifs failed to display. I resaved them and the problem disappeared.