title: How to add image rel to my pptx slides with docx4j
body: <p>Does someone know how to one image reference to any count of slides. I know how to add image to one slide, e.g. it works:</p>
  
  <pre><code>BinaryPartAbstractImage imagePart 
          = BinaryPartAbstractImage.createImagePart(presentationMLPackage, slidePart, file);
  .....
    mappings.put("rEmbedId", imagePart.getSourceRelationship().getId() );
    Object o = org.docx4j.XmlUtils.unmarshallFromTemplate(SAMPLE_PICTURE, 
              mappings, Context.jcPML, Pic.class ) ;        
    Part.getJaxbElement().getCSld().getSpTree().getSpOrGrpSpOrGraphicFrame().add(o);
  </code></pre>
  
  <p>I tried do same work for enother slide - it worked, but creates same image in pptx/media folder. If I use <code>imagePart</code> which created for <code>slidePart1</code>, and add reference to <code>slidePart2</code> it executes, but error appears when I try to open pptx by PoverPoint. </p>
  
  <p>I need it because I creating pptx generator with docx4j</p>