Administrators Farshad Mohajeri Posted November 26, 2014 Administrators Share Posted November 26, 2014 Is this issue resolved? Quote Link to comment Share on other sites More sharing options...
Pink-El Posted December 19, 2014 Share Posted December 19, 2014 I have same problem with ISAPI under IIS Delphi XE2. In my case it`s png image. no file in the cach folder source is <img src="data:image/gif,base64,R0IGODlhQA....%3D" width="93" height="89" hspace="0" vspace="0"> but i can see in cach folder other icons like plus and so on Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted December 19, 2014 Administrators Share Posted December 19, 2014 <img src="data:image/gif,base64,R0IGODlhQA. Above is an inline image url. No file is associated with it. It is for blank image. Quote Link to comment Share on other sites More sharing options...
Pink-El Posted December 20, 2014 Share Posted December 20, 2014 for the stand alone server code is Ext.Component({id:"O25_id",html:"\x3Cimg src='m/cache/bakerymobile/__2957D50B65600F0B8EBD4C92.png' width='93' height='89' hspace='0' vspace='0'\x3E" for the ISAPI code is Ext.Component({id:"O25_id",html:"\x3Cimg src='data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs%3D' width='93' height='89' hspace='0' vspace='0'\x3E" and I do not see picture in the cache folder. May be compiler forgot to include image file or problem with path in ISAPI mode. I use function function GetModuleFileSpec: String; var cret: integer; ModName: array[0..MAX_PATH - 1] of Char; begin Windows.GetModuleFileName(HInstance, ModName, SizeOf(ModName)); cret := GetLongPathName(ModName, ModName, SizeOf(ModName)); SetString(Result, ModName, cret); end; but this function returns \\?\c:\myweb string under IIS and I needed to cut first symbols Dmytro Quote Link to comment Share on other sites More sharing options...
Pink-El Posted December 20, 2014 Share Posted December 20, 2014 Forget to note that cache folder created by ISAPI dll and it has enough rights to read and write. I checked. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted December 20, 2014 Administrators Share Posted December 20, 2014 It is mobile app I think. In mobile mode we use an inline gif instead of a file. function TUnimImageHelper.GetBlankImageUri: string; begin Result := 'data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs%3D'; end; Now the question here s that why your pic remains blank. What is the source of that Image? Please send a code sample or a project. Quote Link to comment Share on other sites More sharing options...
Pink-El Posted December 20, 2014 Share Posted December 20, 2014 ok. by e-mail? Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted December 20, 2014 Administrators Share Posted December 20, 2014 ok. by e-mail? Please create a report in Active Reports forum and attach your sample there. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.