Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Structured FrameMaker 2022 - Issue with Imported Images not scaling to desired size

Explorer ,
May 14, 2025 May 14, 2025

We are upgrading from Structured FrameMaker 11 to Structured FrameMaker 2022.

We have an automated process that imports an xml file containing multiple factsheets into FrameMaker. When the import completes, the factsheets are fully formatted. These factsheets include graphic eps files that are included in the import process.

When testing in FM 2022, we are using our existing FrameMaker templates, DTD, EDD, Rules file, and xsl. When importing, the file are formatting correctly in FrameMaker 2022, except for the graphics, which are not scaling correctly. After importing, the images in the first factsheet are scaling below 50%. In the subsequent factsheets, the images are scaled larger, but not scaling to the correct size - 100%.

We are not encountering this scaling issue with FrameMaker 11.

In FrameMaker 2022, are there additional instructions that need to be added to the EDD, XSL, Rules file, etc. so that these images import to the correct size?

TOPICS
Formatting and numbering , Structured
2.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 21, 2025 May 21, 2025

Thanks for the info

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 21, 2025 May 21, 2025

Please share the original XML representation prior to import to Fm

 

-Matt Sullivan
FrameMaker Course Creator, Author, Trainer, Consultant
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 21, 2025 May 21, 2025

I have attached the xml file

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 21, 2025 May 21, 2025

Ok, per your sample, there are no attributes or values on your graphics, so you'll want to set defaults in your EDD, or set a value via your read/write rules. 

I'd guess that setting defaults in the EDD would be the easier route.

 

-Matt Sullivan
FrameMaker Course Creator, Author, Trainer, Consultant
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 21, 2025 May 21, 2025

Is the fm property import size value being properly handled?

If not, focus on that.

 

Is a default value defined in the EDD? If so, try something like this

element "graphic"
  {
    is fm graphic element;
    attribute "XXXX" implied value is "YYYY";
  }

  

-Matt Sullivan
FrameMaker Course Creator, Author, Trainer, Consultant
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 21, 2025 May 21, 2025

Thanks. I attached the xml in the reply to your previous post

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 21, 2025 May 21, 2025

There are around 30 replies in various threads, so here's a recap to get things in the right direction:

  • Your subject and description aren't 100% accurate. While the EPS may have an embedded size, your XML doesn't specify a size, so you might consider editing the subject/description to read "Not scaling to desired size"
  • You have a number of paths you can investigate:
    • Editing the EDD to provide default formatting for your graphics elements that are missing formatting attributes and values
    • Using read/write rules to provide formatting upon XML import
    • Using Find/Change on the XML to add the attributes you want for formatting
    • Scripting on the imported XML in FrameMaker (as suggested by @frameexpert )

Please keep us posted!

 

***Also, I don't believe FrameMaker 11supported XML as a working file format...are you opening XML or .fm docs?

-Matt Sullivan
FrameMaker Course Creator, Author, Trainer, Consultant
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 22, 2025 May 22, 2025
LATEST

Thanks for your assistance. We are importing xml file into FrameMaker 22 and viewing the graphics in the FM document. As an update,  one of my co-workers changed the DPI setting to 96 (See image below). The graphics that fit in one column are now scaling correctly; however, there are graphics that should span across 2 columns, and, instead, these are scaling down to approx. 50% to fit in 1 column. So, now, we are trying to figure out how to resolve this so that the 1-colmn graphics are correctly sized to fit in one column and the 2 column graphics are correctly sized to span across 2 columns:

defaultxhawfx4ep50f_0-1747914334313.png

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines