Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

JPegs in HTMLHelp files

2 views
Skip to first unread message

MattP

unread,
Oct 25, 2007, 11:04:23 AM10/25/07
to
Hi folks,

I have created an HTML help file for an Access 2007 database
application, using some HTML documents, some of which have embedded
jpeg pictures.

The HTMLHelp compiles the .chm help file without any problems, but
when I view the help file, the images don't appear (i get the normal X
where the image is supposed to be - suggesting the image isn't
available).

I can't see anything obviously wrong with what I am doing. Has anyone
else experienced this problem?

I looked throught the HTMLHelp options to see if I needed to add the
jpegs separately, but there didn't appear to be any options to add
anything other than the HTML files, alias files and map files.

Any help would be highly appreciated.

Cheers

Matt

Ulrich Kulle

unread,
Nov 14, 2007, 10:19:34 AM11/14/07
to
On 25 Okt., 16:04, MattP <nos...@pinto44.freeserve.co.uk> wrote:
Hi Matt,

better newsgroups for HTMLHelp helpauthoring:

news://msnews.microsoft.com/microsoft.public.helpauthoring
news://msnews.microsoft.com/microsoft.public.vstudio.helpauthoring

However, things I see right away that might be the problem ..

(1) Check the HTML code and make sure that the graphics referenced in
the <img> tags have the correct file names and are in the correct
location.

(2) Add the path names of the graphics to the [FILES] list in your
project (.hhp) file. This will ensure that they are compiled into your
help file.

Note to have your "images" directory below your HTMLHelp project file
*.hhp level.

[FILES]
*.css
*.js
images\foobar-1.jpg
images\foobar-2.jpg
html\*.htm

or
images\*.jpg


Of course, you have to edit the project file in a text editor like
Notepad to do this.

Besides the files listed in the [FILES] section of the .hhp file, the
compiler pulls into the .chm file those local files that are directly
referenced in the HTML source and in the contents (.hhc) and index
(.hhk) files.

So, for example, most graphics are directly referenced in the HTML
topic files through <img> elements and don't need to be listed in the
[FILES] section. On the other hand, a graphic that is referenced only
in the style sheet (.css) file linked to those topic files *would*
need to be added to the [FILES] list, as otherwise the compiler would
be unaware of it.

HTH
Best regards
Ulrich Kulle
Microsoft MVP - Windows Help
***********************************
http://www.help-info.de
***********************************


MattP

unread,
Nov 18, 2007, 11:15:20 AM11/18/07
to

Many thanks for the information, Ulrich.

I'll look into the suggestions you have given.

Cheers,

Matt

MattP

unread,
Jan 24, 2008, 4:36:23 PM1/24/08
to
and
they deceive us.

So each degree of good fortune which raises us in the world removes us
farther from truth, because we are most afraid of wounding those whose
affection is most useful and whose dislike is most dangerous. A prince may
be the byword of all Europe, and he alone will know nothing of it. I am not
astonished. To tell the truth is useful to those to whom it is spoken, but
disadvantageous to those who tell it, because it makes them disliked. Now
those who live with princes love their own interests more than that of the
prince whom they serve; and so they take care not to confer on him a benefit
so as to injure themselves.

This evil is no doubt greater and more common among the higher classes; but
the lower are not exempt from it, since there is always some advantage in
making men love us. Human life is thus only a perpetual illusion; men
deceive and flatter each other. No one speaks of us in our presence as he
does of us in our absence. Human society is founded on mutual deceit; few
friendships would endure if each knew what his friend said of him in his
absence, although he then spok


Ulrich Kulle

unread,
Jan 24, 2008, 5:00:33 PM1/24/08
to
else but God's mere will had in the least degree,
or in any respect whatsoever, any hand in the preservation of wicked men
one moment. -- The truth of this observation may appear by the following
considerations. There is no want of power in God to cast wicked men into
hell at any moment. Men's hands cannot be strong when God rises up. The
strongest have no power to resist him, nor can any deliver out of his
hands. -- He is not only able to cast wicked men into hell, but he can
most easily do it. Sometimes an earthly prince meets with a great deal
of difficulty to subdue a rebel, who has found means to fortify himself,
and has made himself strong by the numbers of his followers. But it is
not so with God. There is no fortress that is any defence from the power
of God. Though hand join in hand, and vast multitudes of God's enemies
combine and associate themselves, they are easily broken in pieces. They
are as great heaps of light chaff before the whirlwind; or large
quantities of dry stubble before devouring flames. We find it easy to
tread on and crush a worm that we see crawling on the earth; so it is
easy for us to cut or singe a slender thread that any thing hangs by:
thus easy is


0 new messages