How echo and use [glo_nm_path_imagens]

Hello,
I’m trying to show the image of a signature png file on right side of a select field (name of user) .
To insert the full path of image I need to use the full path (I suppose…)

OnapplicationInit
echo "PATH " .[glo_nm_path_imagens];

Don’t works at all …

This is what I’m trying to do on a additional Label field I added to show the image of signature recorded as file image name

Ajax OnChange

$sql_sign=“SELECT signature FROM signatures WHERE id_signature = {id_signature_requestor}”;

sc_lookup(rs, $sql_sign);

if (isset({rs[0][0]})) // Row found
{
$varImg = {rs[0][0]};
{req_signature} = “<img border=0 height=‘155px’ src=’…/file/img/signature_images/$varImg’>”;

}

signature_requests.png

For some reason [glo_nm_path_imagens] is not available everywhere, so I capture it at the Login screen and I create a global variable with it. Replace Login by the name of your Login app.

$img_dir = $_SESSION[‘scriptcase’][‘Login’][‘glo_nm_path_imagens’];
sc_set_global($img_dir);