final ImageTag tag = new ImageTag();
tag.setElement(element);
tag.setFilename(this.getFilename());
tag.setPlaceHolderResolver(this.getPlaceHolderResolver());
final ImageValue imageValue = new ImageValue();
imageValue.setFilename(this.getFilename());
imageValue.setGeneratorContext(this.getGenerator().getGeneratorContext());
imageValue.setFile(tag.getFile());
imageValue.setLocal(tag.isLocal());
imageValue.setLazy(tag.isLazy());
return imageValue;
}