Thanks! when I said "again" I meant that I thought I had read in the list
archives that these images were broken in a previous beta relaese, my
apologies if this was not the case :)

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Gilles
Detillieux
Sent: Thursday, 25 October 2001 6:57 AM
To: Joseph Blythe
Cc: htdig-general
Subject: Re: [htdig] image-url-prefix


According to Joseph Blythe:
> Are the score stars broken again in 3.2.0b4?

I'm not sure what you mean by "again".  As far as I can recall, any
problems with stars not appearing at all (as opposed to some of the
ongoing problems with score calculations) have always been due to
misconfigurations and not bugs in the code.

> last time i installed htdig i used --with-image-url-prefix=images and all
> worked fine ...

I find that surprising.  Unless you put your images subdirectory in the
same directory as the htsearch binary, relative URLs like this won't work.
Your image URL prefix setting should always be an absolute path so it's
interpreted relative to the DocumentRoot on your server.  It can be
server-relative, though, so you don't need the http://servername part
on it.

> this time around no images were working unless i
> used --with-image-url-prefix=/htdig/images which fixed the problem but i
can
> not seem to find where the score images are set. In the html source the
> broken images are <img src="images/star.gif" alt="*"> should be <img
> src="/htdig/images/star.gif" alt="*"> this will make it work but where do
i
> set this??

If you're reinstalling from scratch, you set this with the
--with-image-url-prefix to ./configure.  But you already know that, so I'm
assuming you want to know how to fix it without having to recompile and/or
reinstall.  You can set image_url_prefix in your config file (htdig.conf
by default), or set star_image and star_blank directly instead, and fix
up any incorrect relative paths in all of your *.html template files in
the "common" directory (/usr/local/htdig/share in your case).

See http://www.htdig.org/attrs.html#image_url_prefix
and http://www.htdig.org/FAQ.html#q4.16

--
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:
http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to
<[EMAIL PROTECTED]> with a subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html


_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to