Title: [Plugin: POST2PDF Converter] background image
Last modified: August 20, 2016

---

# [Plugin: POST2PDF Converter] background image

 *  Resolved [ooohh04](https://wordpress.org/support/users/ooohh04/)
 * (@ooohh04)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-post2pdf-converter-background-image/)
 * Hi,
    I know that in tcpdf library is possible to add image background. Is it 
   possible to add in the plugin? Thanks in advance. Regards Giorgio Scappaticcio
 * [http://wordpress.org/extend/plugins/post2pdf-converter/](http://wordpress.org/extend/plugins/post2pdf-converter/)

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

 *  Plugin Author [redcocker](https://wordpress.org/support/users/redcocker/)
 * (@redcocker)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-post2pdf-converter-background-image/#post-2704589)
 * Hi, ooohh04 san
 * I’ll add this feature in future release.
 *  [ralphmark](https://wordpress.org/support/users/ralphmark/)
 * (@ralphmark)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-post2pdf-converter-background-image/#post-2704592)
 * How much I know about wp it is not possible to add image as plugin background.
 *  Thread Starter [ooohh04](https://wordpress.org/support/users/ooohh04/)
 * (@ooohh04)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-post2pdf-converter-background-image/#post-2704602)
 * Hi Redcocker san,
    I am able to code, and I find this example in the tcpdf library:
   [http://www.tcpdf.org/examples/example_051.phps](http://www.tcpdf.org/examples/example_051.phps),
   can you explain me how to integrate this in the pdf-maker file? Regards Giorgio
 *  Plugin Author [redcocker](https://wordpress.org/support/users/redcocker/)
 * (@redcocker)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-post2pdf-converter-background-image/#post-2704615)
 * hI, ooohh04 san
 * This is just an example code.
 * Please add following code into /post2pdf-converter/post2pdf-converter-pdf-maker.
   php line 14
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   The maximum number of lines of code that you can post in these forums is **ten
   lines**. Please use the [pastebin](http://wordpress.pastebin.com/)]_
 * Remove following code from /post2pdf-converter/post2pdf-converter-pdf-maker.php
   line 373-374
 *     ```
       require_once('tcpdf/config/lang/'.$config_lang.'.php');
       		require_once('tcpdf/tcpdf.php');
       ```
   
 * Replace /post2pdf-converter/post2pdf-converter-pdf-maker.php line 392-394 with
   following code.
 *     ```
       $pdf = new POST2PDF_Converter_PDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', true, false);
       		} else {
       			$pdf = new POST2PDF_Converter_PDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false, false);
       ```
   
 * Replace /post2pdf-converter/tcpdf/config/tcpdf_config.php line 95-99 with following
   code.
 *     ```
       if (!defined('K_PATH_FONTS') && $POST2PDF_Converter_PDF_Maker->post2pdf_conv_setting_opt['font_path'] == 1) {
       		define('K_PATH_FONTS', WP_CONTENT_DIR.'/tcpdf-fonts/');
       	} else {
       		define ('K_PATH_FONTS', K_PATH_MAIN.'fonts/');
       	}
       ```
   
 *  Thread Starter [ooohh04](https://wordpress.org/support/users/ooohh04/)
 * (@ooohh04)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-post2pdf-converter-background-image/#post-2704616)
 * Hi Redcocker san,
    Thank you very much! I will try and let you know.

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

The topic ‘[Plugin: POST2PDF Converter] background image’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/post2pdf-converter_cad3dd.svg)
 * [POST2PDF Converter](https://wordpress.org/plugins/post2pdf-converter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post2pdf-converter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post2pdf-converter/)
 * [Active Topics](https://wordpress.org/support/plugin/post2pdf-converter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post2pdf-converter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post2pdf-converter/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [ooohh04](https://wordpress.org/support/users/ooohh04/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-post2pdf-converter-background-image/#post-2704616)
 * Status: resolved