PDF or image generator

PDF or image generator

from 0$

PDF or image generator is a Package Installer from the Open Source WP Plugins range It is for converting web page content, HTML string or files with HTML or text…

For more information about a tailored Package Installer like PDF or image generator please contact us directly.

It provides the following functionalities

  • Converting webpage content, HTML string or file into image.
  • Converting webpage content, HTML string or file into PDF.

Getting Started

Configuration

  • Go to plugin settings page through settings menu or settings link under plugin name in the plugins page.
  • Download wkhtmltox from here.
  • Run that executable file then it will create wkhtmltox folder. Enter the absolute path of the files inside wkhtmltox->bin files.

Usage

  • We have to call the following function with specified paramters and it will return the generated PDF/image path.

    PDFIG_generate($src, $src_type, $dest_file_name, $conversion_type);

    • $src is required, expected string. Ex: “http://osmosys.asia”, “home/osmosys/test.php” etc.
    • $src_type is required, expected string. It specifies what is the source type, It can be one of the 3 values which are specified in the possible values. Possible values: “TEMPLATE_PATH”, “HTML_STRING”, “URL”.
    • $dest_file_name is optional, expected string. It is the file with which file will get downloaded. Ex: “test” etc.
    • $conversion_type is optional, expected string. It specifies to which format we have to convert the given source, it can be one among the 2 values which are specified in the possible values. Possible values: “PDF”, “IMG”.
  • Simply insert the following shortcode [PDFIG_generator_demo] for a demo page.

Download & install the zip archive

The plugin package installer can be downloaded from the WP2E project tab called “code”.

1 – Select the version to download if this option is available otherwise the “latest” version of the main plugin will be used.

2 – After downloading the zip archive install the plugin package installer in you local environment and activate the script from the plugin list.

3 – Under the section “Plugins” of the admin dashboard you should see a new “Dependencies & Licenses” link. Follow the instructions from this panel to finalize the installation of the missing dependencies.

Tips: Use the WP2E panel to add/suggest new dependencies to the local installation. Press F5 in the list of dependencies if the changes are not displayed right away.

PDF or image generator

typePlugin
version1.0
descriptionIt is for converting web page content, HTML string or files with HTML or text…