I have produced a simple function put I do not know how to use it. Tried checking the manual but have not been able to find where it mentions how user define functions can be used.
@deffn Command disp-expr imgnm The name of the image is @var{imgnm} @end deffn