Menu

dynamic images

Help
Anonymous
2006-08-13
2013-04-24
  • Anonymous

    Anonymous - 2006-08-13

    Hi there,

    I'm using a cgi script mimetex.cgi to dynamically generate gif's of text code using <img src="/includes/mimetex.cgi?tex_code_here"> the script/image works perfectly and it dsiplays in the html page I want to turn into a pdf. When I try and use html2fpdf to turn it into a pdf I get the error

    FPDF error: GIF parser: unable to open file /home/.astor/musiczine/notely.net/includes/fpdf/no_img.gif

    no_image.gif is in the right place...does the folder need chmod or something?

    Also is it possible to put dynamic gifs into a pdf using html2fpdf?

     
    • Anonymous

      Anonymous - 2006-08-13

      I figured it down to line 842 of html3fpdf. There is an fopen of the image there. Obviously since the image doesn't actually exist on the server the no_img.gif gets put in place (there is a problem with the no_img.gif location on the server..everything else works fine)

       
    • Pedro Damian Meza Herrera

      I solved the same problem by creating the image into a tmp folder with a random name, then including these images into the pdf

       

Log in to post a comment.

MongoDB Logo MongoDB