Skip to main content
Participant
July 4, 2014
Answered

Reference graphics missing in HTML5

  • July 4, 2014
  • 2 replies
  • 520 views

When using the paragraph designer to insert a frame with reference graphics it works out great when generating a PDF. But when publishing to html5 it just adds space - ie the size of the frame - and the graphic is missing.

  • Is this related to editing the publishing preferences?
  • Has it something to do with the image file/format? Does it have to have a generated version of itself for the html-code to reference? How would that be accomplished?
  • Is it a feature that has yet to be implemented?

Please help out, as I have quite a lot of material that needs sorting out in about a weeks time.

regards

Frederic

    This topic has been closed for replies.
    Correct answer Arnis Gubins

    The reference frame usage is for print/PDF production and won't work for HTML, CHM or ePub. You could use something like a background-image definition in the appropriate elements of a customized CSS to add highlight graphics or replace the Frame Above/Below with anchored frame graphics.

    Regardless, it's a good practice to develop variations on your templates to deal with the strength & shortcomings of the various publishing channels.

    2 replies

    Arnis Gubins
    Inspiring
    July 6, 2014

    You should specify in the conversion option that Distiller is to be used to get the best quality conversions. However, unless the graphics are in anchored frames, the conversion utilities will ignore them.

    fred209Author
    Participant
    July 7, 2014

    Thank you for replying.

    In the advanced tab, in paragraph designer, there are options to insert a reference image either above or below the paragraph. The generated html code doesn't include this in any shape or form.

    I'm guessing Arnis Gubins is right here. Though I hope someone could prove him wrong.

    regards

    Frederic

    Arnis Gubins
    Arnis GubinsCorrect answer
    Inspiring
    July 7, 2014

    The reference frame usage is for print/PDF production and won't work for HTML, CHM or ePub. You could use something like a background-image definition in the appropriate elements of a customized CSS to add highlight graphics or replace the Frame Above/Below with anchored frame graphics.

    Regardless, it's a good practice to develop variations on your templates to deal with the strength & shortcomings of the various publishing channels.

    Bob_Niland
    Community Expert
    Community Expert
    July 4, 2014

    > ... and the graphic is missing.

    What's the graphics file format of the graphic?

    FM trashes all graphics to a limited set of raster formats with suboptimal defaults when rendering to HTML (even SVG). The conversion may be failing entirely for whatever image format you are using.