Copy only referenced images to build/images

Hello,

It’s much more conveniant for me to link under source/images a directory containing more images than I actually need rather than select only the ones I will actually use. Would it be possible have Middleman copy to build/images only the ones that were used? Now it simple copies complete contents of source/images directory.

Best

Piotr

There is no way Middleman would know which images were used – you can generate URLs dynamically, so how to decide which images are actually needed? You have to decide for yourself which files need to be published in build.