pass image 'id' to support unique image filenames