Add INPUT_PATH config, image extension filtering