Menu

#15 FPDF error: Image file has no extension and no type was spec

open
nobody
None
5
2014-08-22
2007-12-13
Anonymous
No

on trying to output, I am receiving this error:

FPDF error: Image file has no extension and no type was specified: /

I commented out all images within the header() and footer() functions to no avail, so this is telling me there is a problem with the content being passed to WriteHTML()

The weird thing is that this worked fine yesterday...

here is the only portion of what I am passing to WriteHTML() that uses an 'img' tag:

<br /><br /><table width="460px" cellspacing=0 marginwidth=0 marginheight=0 border=0>
<tr>
<td width="35%" align="center"><img src="../images/member_1.jpg" width="129" height="129"></td>
<td width="15%">&nbsp;</td>
<td width="35%" align="center"><img src="../images/member_2.jpg" width="120" height="106"></td>

</tr>
</table>

(these image paths are correct in relation to where the script is executing - placing full URLs causes the same error)

Any ideas on what is happening here?

Thank you,
Patrick M McGovern
mcgroovin | at | gmail | d0t | com

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.