Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi. Great plugin indeed. But, too bad, the include image problem is not resolved (12 December 2014). Neither featured images nor any images within the post are included in the pdf. That is true for 2 out of 2 posts. (klimaatelier.ch)
    “Include Images” is checked in settings (“Run other plugin shortcodes” and “content filters” are both unchecked).

    It seems as if any image is ignored whose <img src…> is encapsulated by a link or a caption. I have both removed for a test-run and after that the images showed up in the pdf. Could be an option, even though an annoying one…

    Oh, and while we’re at it: “png”-files result in an error during creation of the pdf.

    Plugin Author kalinbooks

    (@kalinbooks)

    I just released v4.1 with a new version of TCPDF which seems to have slightly better .png support (like handling transparent backgrounds). Hopefully this will help with the png errors you’re seeing. I can’t say for sure because the png files I test with are working. Maybe if png files still fail after this upgrade you can link me to a couple of the images you’re trying to use?

    For the issue with images wrapped in link or caption, I will start looking into this tonight and get back to you hopefully soon.

    Plugin Author kalinbooks

    (@kalinbooks)

    I just tried wrapping images in a link and in a caption and both work. I even tried another png file with transparency and everything worked for me. Can I get a copy of the html code that you have in your post and a link to the image?

    Thank you for the prompt response and – by the way – thank you for your great plugin.

    I tried it again this morning once before I used your update and once after.

    Before the update, the pdf was created without error, but the encapsulated pictures did not show up. One of them was the png that caused the error yesterday. I don’t know why suddenly the png doesn’t cause an error anymore.

    After the update on 4.01, the images show up (both with caption and with link), so good news from here, however the caption is not processed and doesn’t show up.

    The code for the png wrapped in a caption is this:
    [caption id="attachment_983" align="aligncenter" width="400" caption="Wo man Geisterfahrer ist**"]<img class=”size-full wp-image-983″ title=”Wo man Geisterfahrer ist” src=”https://www.firstladiesblog.de/wp-content/uploads/2012/04/Bildschirmfoto-2012-03-22-um-13.47.491.png&#8221; alt=”Wo man Geisterfahrer ist” width=”400″ height=”272″ />[/caption]

    Plugin Author kalinbooks

    (@kalinbooks)

    Okay, awesome. I think the TCPDF upgrade included in this release fixed the .png issue, since I’m not sure what else it could be. The caption and link fix could either be the TCPDF upgrade or maybe the change I made to the way the ajax request is called, which may have been causing a problem in character encoding or something.
    As for the caption itself not showing up, that is actually by design, though oddly enough, when I test it locally, the caption does show up but doesn’t flow very well with the rest of the document. Originally I was removing the caption shortcode for that reason. Perhaps something has changed with the caption syntax and you are using an older syntax that is still getting properly removed. It would take a little more work to strip out the caption text from the shortcode and place it in such a way that looks decent in the final PDF so I opted to just remove it for now since there’s a lot of other features I want to work on first.

    Getting Same Problem On Merry Christmas 2014

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Not showing images’ is closed to new replies.