Slide pictures in ImageSlider by code

Hello,
I would like to ask whether it is possible to change pictures in ImageSlider through program code. How can I do it? 
Thanks in advance.

Yes it can be done and it is very easy.

All you need to do is add image URLs to the Slider.ImageURLs collection and call Slider.RefreshImages.

To add local files ot the imageslider for example, drop a TWebFilePicker on the form, add following code to the OnWebFilePicker.OnChange handler:

var
  i: Integer;

begin
  for i := 0 to WebFilePicker.Files.Count - 1 do
  begin
    WebFilePicker.Files.GetFileAsDataURL;
  end;
end;

and then add via the WebFilePicker.OnGetFileAsDataURL the image to the slider with the code:

procedure TForm1.PickerGetFileAsDataURL(Sender: TObject; AFileIndex: Integer; AURL: string);
begin
  WebImageSlider1.ImageURLs.Add(AURL);
  WebImageSlider1.RefreshImages;
end;


Dear Bruno,
I have 3 images loaded thought this code :
var
  i: Integer;
  begin
  for i := 1 to 3 do
  MainForm.PubliSlider.ImageURLs.add(Format('./Adv/pic_%d.gif', ));
  MainForm.PubliSlider.RefreshImages;

and after that I need change each 5 seconds these 3 images critically
It is possible?
Currently I use Exchange+Refresh methods, 
  SlideId:=SlideId+1;
  if (SlideId = 3) then SlideId := 1;
  PubliSlider.ImageURLs.Exchange(0,SlideId);
  PubliSlider.RefreshImages;

but I would like to have slide effect changing pictures.
I mean cyclically

The component exposes a TStringList where you can add the URLs of the images you want to display. If you want to cyclically update these images, you can just update any URL in this stringlist and call Slider.RefreshImages to have the changes reflected in the slider control.