option to set separate directories for images
Handler uses mask and piece prefix