Hello,
if i try to put an image to a PhoneList, i always get this message:
Unrecognized Command: IMAGES:
The image does exists in an image-folder, and i add it in this way to the list:
while not adsquery.Eof do begin
With Adlist.Items.Add() do begin
Image:='/images/' + adsquery.FieldByName('image1').AsString;
Caption:=adsquery.FieldByName('modellname').AsString;
Notes:=adsquery.FieldByName('headline').AsString;
Detail:=true;
end;
adsquery.Next;
end;
Any idea what's wrong with that? ;-)
Thank you very much.
Sascha
In IntraWeb the default folder for images should be called "files" instead of "images".
Example:
With Adlist.Items.Add() do begin
Image:='/files/' + adsquery.FieldByName('image1').AsString;
Image:='/files/' + adsquery.FieldByName('image1').AsString;
end;
Or you can have a look at the iPhoneDemo included with the IW iPhone controls pack download that features a fully working example including images.
You are right.. Now it's working. Thank you very much !
Sascha