I have a webapplication with ISAPI.
in the form of start I have this code
- Code: Select all
procedure TIWHomeForm.CreateHeader;
var utile:String;
begin
IWCGHEADER.Css:= 'cgdev-middle-header';
with IWCGHEADER.HTMLCode do
begin
Add('<div>');
Add('<h1 aling=Center><span>MIND.TBS</span></h1>');
Add('</div>');
Add('<div style="position: absolute;left: 400px;top: 132px;z-index: 100;padding: 0;border-style: none;border-width: 0px;" id="IWCGJQIMAGELOGO"><img src="./IWHomeForm_IWCGJQImageLogo_IWCGJQIMAGELOGO.png" id="IWCGJQIMAGELOGO_IMG"></div>');
end;
end;
The WebApplication.ApplicationPath on sever is c:\ISAPI\
when they launch on the production server does not find the image,
in the html code of the page I have:
- Code: Select all
<div style = "position: absolute; left: 400px; top: 132px; z-index: 100; padding: 0; border-style: none; border-width: 0px;" id = "IWCGJQIMAGELOGO"> <img src = "./ IWHomeForm_IWCGJQImageLogo_IWCGJQIMAGELOGO.png" id = "IWCGJQIMAGELOGO_IMG"> </ div>
The server has Windows 8 IIS Versio 8.5.9600.16384
who is the problem?
Regards