Allmon3 CONFIG_HEADER_LOGO

In /etc/allmon3/web.ini there is a setting for CONFIG_HEADER_LOGO and it takes the filename as input and prepends the [A,a]llmon3/img/ path:

; CONFIG_LOGO_IMG appears aligned right in the top-right corner
; of the page. The max height of this image should be 50px. If
; you do not want a logo to appear, leave this entry as an
; empty string "" and the ASL logo will be display. Image
; file is relative to the img/ subdirectory of Allmon3
CONFIG_HEADER_LOGO = ""

Adhering to the maximum image height, specifying the “filename.ext”, storing it in /etc/allmon3/img/filename.ext, and making it world readable results in a 404 error for the image. Restarting of the host and refreshing the browser cache does not rectify the error. Also, storing the image in /var/www/html/allmon3/img/filename.ext doesn’t resolve the error.

Any ideas? Thanks in advance!

P.S. Otherwise, Allmon3 1.6.1 is working perfectly on Debian 12.

The image has to be relative

image file is relative to the img/ subdirectory of Allmon3

So put image in /usr/share/allmon3/img/ folder, then in the config the PATH would be just the image name

CONFIG_HEADER_LOGO = "logo.png"

1 Like

Thank you, @pross, /usr/share/allmon3/img/filename.ext worked.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.