String picnikApi = System.getProperty("picnik.apikey");
if (Strings.isEmpty(picnikApi) && LOG.isWarnEnabled()) {
LOG.warn("Your Picnik API key must be in Java System property picnik.apikey");
}
add(new NonCachingImage("picnikImage2", new WebResource() {
@Override
public IResourceStream getResourceStream() {
return new FileResourceStream(imageFile2);
}
}));