Menu

Dynamic Images are not working, throws error No such file or directory

Help
2019-04-09
2019-04-09
  • CHRIST THE MERCY

    Hi,
    I am using an dynamic php page to generate image.
    when i use this in IMG tag in the pdf string like

    <img src="../images/imageview.php?id=2567&type=jpg" 
    border="0" width="25" height="30" /> 
    

    on exeution it gives following error

    TCPDF ERROR: [Image] No such file or 
    directory in ../images/imageview.php?id=5220&tq=69580&type=jpg
    

    if you take the image path directly on browser it generates the image..but on pdf it is not working.
    the script mage.php takes base64 encoded image string from db and generates and image from it using
    imagecreatefromstring() function.

    pls guide me on this.

    thanks
    Joe

     

    Last edit: CHRIST THE MERCY 2019-04-09
  • Simon

    Simon - 2019-04-09

    Try using the absolute url including http

     

Log in to post a comment.