At 13.45 29/04/2002 +0100, Willy Calderon wrote:
>Is there any way to change the image directory without having to do a 
>./configure, make, and make install again?
>
>If I am stuck with doing this again, will it completely alter my 
>htdig.conf file?
>
>The last thing I want to do is start over ;-)
>
>Thanks!!

Ciao Willy!

    I hope this could be helpful. I use it this way, by changing the 
location in the configuration file. I define an aboslute path for the image 
directory (consider I put stars in a subdirectory called 'star'):

# Directory immagini
dir_img: /img
dir_img_star: ${dir_img}/star
dir_img_buttons: ${dir_img}/buttons

# Blank star
star_blank: ${dir_img_star}/star_bl.gif

# Star
star_image: ${dir_img_star}/star.gif

# Testo (o immagine) pagina successiva
next_page_text: <img src="${dir_img_buttons}/right.gif" border="0" 
align="middle" width="30" height="30" alt="Pagina successiva">
no_next_page_text:

# Testo (o immagine) pagina precedente
prev_page_text: <img src="${dir_img_buttons}/left.gif" border="0" 
align="middle" width="30" height="30" alt="Pagina precedente">
no_prev_page_text:

# page number (inactive)
page_number_text: \
     '<img src="${dir_img_buttons}/off1.gif" border="0" align="middle" 
width="30" height="30" alt="1">' \
     '<img src="${dir_img_buttons}/off2.gif" border="0" align="middle" 
width="30" height="30" alt="2">' \
     '<img src="${dir_img_buttons}/off3.gif" border="0" align="middle" 
width="30" height="30" alt="3">' \
     '<img src="${dir_img_buttons}/off4.gif" border="0" align="middle" 
width="30" height="30" alt="4">' \
     '<img src="${dir_img_buttons}/off5.gif" border="0" align="middle" 
width="30" height="30" alt="5">' \
     '<img src="${dir_img_buttons}/off6.gif" border="0" align="middle" 
width="30" height="30" alt="6">' \
     '<img src="${dir_img_buttons}/off7.gif" border="0" align="middle" 
width="30" height="30" alt="7">' \
     '<img src="${dir_img_buttons}/off8.gif" border="0" align="middle" 
width="30" height="30" alt="8">' \
     '<img src="${dir_img_buttons}/off9.gif" border="0" align="middle" 
width="30" height="30" alt="9">' \
     '<img src="${dir_img_buttons}/off10.gif" border="0" align="middle" 
width="30" height="30" alt="10">'

# page_number (active)
no_page_number_text: \
     '<img src="${dir_img_buttons}/on1.gif" border="0" align="middle" 
width="30" height="30" alt="1">' \
     '<img src="${dir_img_buttons}/on2.gif" border="0" align="middle" 
width="30" height="30" alt="2">' \
     '<img src="${dir_img_buttons}/on3.gif" border="0" align="middle" 
width="30" height="30" alt="3">' \
     '<img src="${dir_img_buttons}/on4.gif" border="0" align="middle" 
width="30" height="30" alt="4">' \
     '<img src="${dir_img_buttons}/on5.gif" border="0" align="middle" 
width="30" height="30" alt="5">' \
     '<img src="${dir_img_buttons}/on6.gif" border="0" align="middle" 
width="30" height="30" alt="6">' \
     '<img src="${dir_img_buttons}/on7.gif" border="0" align="middle" 
width="30" height="30" alt="7">' \
     '<img src="${dir_img_buttons}/on8.gif" border="0" align="middle" 
width="30" height="30" alt="8">' \
     '<img src="${dir_img_buttons}/on9.gif" border="0" align="middle" 
width="30" height="30" alt="9">' \
     '<img src="${dir_img_buttons}/on10.gif" border="0" align="middle" 
width="30" height="30" alt="10">'

However, anytime you use an image in the configuration file you just 
prepend the file name with the directory variable. So ... if you decide to 
change the location, you just have to change the variable value. :-)

Hope this helps ...

Ciao
-Gabriele

--
Gabriele Bartolini - Computer Programmer
U.O. Rete Civica - Comune di Prato - Prato - Italia - Europa
[EMAIL PROTECTED] | http://www.po-net.prato.it/

  The nice thing about Windows is - It does not just crash,
  it displays a dialog box and lets you press 'OK' first.


_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to