THtmlViewer, TFrameViewer components
Use method LoadFromFile instead.
procedure LoadImageFile(const Filename: ThtString);
The LoadImageFile method loads a Bitmap, GIF, JPEG, or PNG image for viewing. Filename is the name of the image file to be loaded.