picdescription instead of picname in creating the cNvPr element, and removed an invalid reference from the template.
…ties of the xfrm element when creating the shape properties of an image. See: http://www.schemacentral.com/sc/ooxml/e-p_xfrm-1.html
the template directory. When the same image file is used multiple times, no duplicates will be added. Caveat: to prevent image files from accumulating in word/media/ across runs, never call picture() and savedocx() without the imagefiledict parameter. The imagefiledict is optional because of backward compatibility.