• I have images inside my posts which are located on an external website. Whenever I attempt to generate a PDF on one of these posts, I get this error – FPDF error: Missing or incorrect image file: [IMAGE URL]. I can verify that the image URL is correct and that the image displays in the browser correctly (both in the post and when I navigate to the image directly). I do not have any problems generating a PDF from a post without external images…

    Does anyone have any ideas on what could be causing this and how I can fix it?

    Thanks…

    http://wordpress.org/extend/plugins/article2pdf/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Capt,
    I’ve tested it on my blog: I’ve included an external image to a post and opened the pdf file. No problem, works fine.

    I think it’s a PHP think. There is a PHP configuration option named “allow_url_fopen” – if this option is turned off your PHP can’t get Data from external URLs, but this is necessary for article2pdf because the image data must be loaded.

    Please check this option and please post a link where I can have a look at your posts with external images.

    Marc

    Thread Starter capt_greenbean

    (@capt_greenbean)

    Marc,

    Thank you very much! That solved the problem 🙂

    I had totally forgotten to check the PHP config…

    I really appreciate your help… This is a great plugin!

    Doug-

    Hi Marc,

    Great plugin, thankyou – I’m developing a theme using your plugin but am having some issues with images as well. Works fine with images switched off. But i have quite graphical content so is a problem.

    Unlike Doug’s problem my images are placed in using the add media in the wysiwyg.

    This is the error i receive:

    FPDF error: Missing or incorrect image file: /home/vgmcom/public_html/files/2009/03/system-overview.gif

    I am using wordpress MU so this may one of the issue. I’m guessing that it must be a URL issue?

    The url for the current test page is Website Link.

    I’d really appreciate some help, many thanks,

    James

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: article2pdf] Missing or incorrect image error’ is closed to new replies.