TAdvSmoothImageListBox - Zoom (original image?)

Hi there,

Recently i've updated to smooth controls 5.0.1.7 (19/12/2014). From then i've got the following behaviour:
- TAdvSmoothImageListBox on a form.
- a button and an open dialog


procedure TForm1.btnLoadFromFileClick(Sender: TObject);
var
  Item: TAdvSmoothImageListBoxItem;
begin
  ImgBox.Items.Clear;
  if dlg.Execute then
  begin
    Item:= ImgBox.Items.Add;
    Item.Image.LoadFromFile(dlg.FileName);
  end;
end;



Now doubleclick on the image. It will appear in Fullscreen. But its completely pixelated. I've tried different settings like aspect ratio and so on. How can i have the original sized picture in zoom mode in good quality? This was different in earlier versions. Or is it me?
Thanks for your help

Hi, 


When loading images directly, the image is scaled for performance to the size of the item. So you could initialize all items by setting ItemAppearance ItemWidth/ItemHeight properties to a higher value, and then reset it to the default value after loading the image. An alternative is to add your images via AddImageLocationsFromFolder which will handle this automatically.

Kind Regards, 
Pieter

Hi Pieter, thank you very much.

Since i have to use it with images from a webserver its only possible with .loadfromstream(). But with your mentioned workaround its o.k.

Thanks
Markus