Hi there,
I have some problem with inserting image when i generate pdf using FPDF library (ASP port version) you can get it here ASP FPDF
I have tried this code (this was ASP VBScript):
pdf.Image Server.MapPath("map.jpg"), 10, 10, 800, 400
pdf.Image "map.jpg", 10, 10, 800, 400
pdf.Image "http://localhost/pdf_test/map.jpg", 10, 10, 800, 400
None of the codes above work... it keeps throw an error:
Microsoft JScript runtime error '800a138f'
Object expected
/pdf/libs/fpdf.asp, line 817
And from fpdf.asp line 817 (This was ASP JScript):
type=SupposeImageType(xfile);
However, without inserting image(s) a.k.a text-only pdf it works fine. Can someone help me fix this thing?
Thanks
Dels