@Override
	public void build(JSONObject json, FieldsMetadata metadata, IContext context) {
		// iterate on all images
		Iterator<?> iter = json.entrySet().iterator();
		while (iter.hasNext()) {
			Map.Entry<?,?> entry = (Map.Entry<?,?>)iter.next();
			// set the FieldsMetaData
			metadata.addFieldAsImage(entry.getKey().toString());
			// create the image
			IImageProvider img = new FileImageProvider(new File(entry.getValue().toString()));
			img.setUseImageSize(true);
			// add it to the report's context
			context.put(entry.getKey().toString(), img);
		}
	}