new option to specify how failures to handle images should be handled, resolves #6
new option to specify how failures to handle images should be handled, resolves #6