Smart Art not rendering for unknown reason

Connor Shore 20 Reputation points
2025-02-19T14:58:45.3333333+00:00

Hello,

I have a question why the smart art in my document is not rendering. I have a template file (Template.docx) which has the smart art rendering properly. When we run this template through our engine, the output it produces has issue where the smart art just displays "The picture cannot be displayed". I've gone through the ooxml and all the rIds appear to point at the correct items. The drawing file are also identical between the template and output. All the media files are present. There are some small differences in the document.xml and the webSettings.xml is missing in the output, however when I make those changes in the template file, everything still renders properly there. Any help to figure out why the smart art is not rendering properly in the output would be much appreciated.

Link to template and output files: https://apryse-my.sharepoint.com/:f:/p/cshore/EkQ1tHxLAudJvkTsiVD98AsBdot72KLsdSNQb91S9wfVUw?e=KvP9QM

Thank you and let me know if you need anything additional on my end.

Office Open Specifications
Office Open Specifications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Open Specifications: Technical documents for protocols, computer languages, standards support, and data portability. The goal with Open Specifications is to help developers open new opportunities to interoperate with Windows, SQL, Office, and SharePoint.
141 questions
{count} votes

Accepted answer
  1. Mike Bowen 1,871 Reputation points Microsoft Employee
    2025-02-19T18:19:55.7566667+00:00

    Hi @Conor Shore ,

    In your Output.docx, the links to the image files in data1.xml.rels file changed to remove the relative part of the link, so the paths to the images are incorrect. Add ../ before the media paths in data1.xml.rels and it will resolve the issue with your file. For example:

    <Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="media/image1.png"/>
    

    Should change to:

    <Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="../media/image1.png"/>
    

    Please let me know if this resolves the issue.

    Best regards,

    Michael

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.