Skip to main content
April 29, 2019
Answered

Background images not appearing in chm output

  • April 29, 2019
  • 1 reply
  • 1248 views

We have an icon that is used for all our desktop shortcuts.  I know I can add it in the heading of a master page,  but it's small and I thought it would work embedded as a non-repeating background image for my h1 heading tag.  It looks great while authoring and appears as expected in the responsive HTML output, but the image is just missing in the chm output.  The heading is moved to the right to accommodate the image.  It just doesn't display.  Is this supposed to work?

Jim

This topic has been closed for replies.
Correct answer Captiv8r

That would be nice, but at least it's a work around if it's going to require a patch to the program.


I'm wondering if perhaps you could do it this way.

Just add the image to the bottom of any topic. Just one topic. Then click to focus the image, and in the properties panel on the right side, expand the Layout section and configure the Display attribute to None.

My thought is that this will trigger the image to be included when generating the CHM file, but be completely hidden in the topic where you added it.

Cheers... Rick

1 reply

Captiv8r
Legend
April 29, 2019

Hi there

You don't say what version of RoboHelp you are using. But if it's 2019 (Classic) or earlier, you may find that you need to add the image to the list of Baggage Files.

Yell back if you aren't sure how to accomplish this.

Cheers... Rick

April 29, 2019

We're brand new to RoboHelp and am not using the classic version.  The image is in the assets/image folder and the CSS finds it for display in authoring and output.  It just doesn't show in the chm.

Captiv8r
Legend
April 29, 2019

Rick,

I don't think you're understanding.  The image isn't part of any topic.  It's specified as a background image in default.css for the h1 tag.  I thought doing it this way looked better than putting the image into a master page.  This way the icon would be on the same line as the title for the topic.


I actually believe I am understanding you. You are referencing the image in a way that isn't direct. It seems to work up until you produce a CHM.

I was hoping to see that you tried it and Voila! Your CHM now works! And if so, that indicates something that Adobe likely needs to address. Or that we need to factor in some bizarre workaround.

See, with this new RoboHelp, there are things aren't working as we expect them to. It's a whole new world. There are many things that still don't work quite yet.

As I understand it, the concept of "baggage" has been blown away and no longer exists with no real way of replacing that functionality. So this leaves a large hole for problems to fall into when we ponder how to make certain things we are long accustomed to doing, still manage to do their thing.

So if you would, please do give this a try and report back as to if the steps I suggested help the image to finally make an appearance in the CHM file.

Cheers... Rick