Loading jpg and gifs into a paradox blob field

Hi,

I Use this code to load bitmaps into a blob field

begin;
if Openpicturedialog1.Execute then
if OpenPictureDialog1.Filename <> NULL then
begin
table1.edit;
if TBLOBField(Table1.Fields[0]) <> nil then table1.append;
TBLOBField(Table1.Fields[0]).LoadFromFile(Openpicturedialog1.Filename);
Table1.append;
end;

Now I would like to do the same with jpg's and gif's.
Any ideas?

thanks