WordPress.org

Ready to get started?Download WordPress

Forums

PDF24 Article To PDF
[resolved] Image conversion Problem (4 posts)

  1. doiches
    Member
    Posted 1 year ago #

    Hi, after testing this fabulous plugin i realized images are not been converted when posts are saved as pdf, getting an empty square. Also custom fileds i have in each posts are not been writen in the pdf.
    Any idea why does it happen or how could it be fixed in order to have the posts whith its images (added in the editor via insert multimedia) as pdf? thanks in advanced

    http://wordpress.org/extend/plugins/pdf24-post-to-pdf/

  2. pdf24
    Member
    Plugin Author

    Posted 1 year ago #

    Do you have a link to your blog with enabled plugin?

    Custom fields require some special considerations because they often are not part of the post content itself. You have to mark the area in a template file which part is your content. This can include custom fields.

    Please read the installation part of the plugin. There is the part "Custom Fields Support". Look at http://wordpress.org/extend/plugins/pdf24-post-to-pdf/installation/ and also look at the FAQ section http://wordpress.org/extend/plugins/pdf24-post-to-pdf/faq/ which contains some more information about custom fields support.

    Generally custom fields must be enclosed by codes so that pdf24 knows which parts to add to the PDF file. This is done by the following code:

    <?php pdf24Plugin_begin(); ?>
    <?php the_content(); ?>
    ... Your custom fields code ...
    <?php pdf24Plugin_end(); ?>
    <?php pdf24Plugin_post(); ?>
  3. pdf24
    Member
    Plugin Author

    Posted 1 year ago #

    The image problem exists if one of the following is true:

    You use a plugin like lazy load which modifies you images so that the images are not visible to the PDF converter.

    Your images are not visible to the converter which is an internet service. That can be if you develop on localhost and that host is not visible to the converter. If you use the plugin on a host which is visible to the converter then images will be part of the PDF file.

  4. Jaabie
    Member
    Posted 1 year ago #

    Does anyone know of a fix for the lazyload problem?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic