Jump to content
Wanze

Pages2Pdf

Recommended Posts

1 hour ago, iNoize said:

EDIT: Have stiill problems. If I edit something in the default_templates the Module dont use the new changes
Something with cache or how can i  change this ?

Yes, in Pages2Pdf module settings :

Capture.PNG.5ef932891f09afbfe490b222b64d9075.PNG

 

You can stay with PHP 7.3.x, and you can also try the same method to update it with the last mPDF version. If it didn't work, then use an older mPDF version like I did. 

Share this post


Link to post
Share on other sites
43 minutes ago, flydev said:

Yes, in Pages2Pdf module settings :

Capture.PNG.5ef932891f09afbfe490b222b64d9075.PNG

 

You can stay with PHP 7.3.x, and you can also try the same method to update it with the last mPDF version. If it didn't work, then use an older mPDF version like I did. 

Don't really work for me with the 1 in the cache. I'll try to update mpdf and set php to 7.3 maybe then. 

EDIT: Ok the latest mpdf have other filestrukture i think i cant replace the folder so easy also i will stay at 6.1 but i cant see my custom template files. Where could the problem be ? 

Share this post


Link to post
Share on other sites

Hi @All, @Wanze thanks for the module!

Please mates, is there a way to add pdf button/link to backend template? I need to print particular template from backend.

 

Share this post


Link to post
Share on other sites

That's a really great module! Thanks a lot!

On localhost it works perfect. But on the server I have the problem, that it don't creat the pdf file correctly. The file has only 0 Bytes and there is an error if I open it. Somethink like "the file is damaged". Does somebody has an idea where to problem is? On Chrome DevTools is this error:

Resource interpreted as Document but transferred with MIME type application/pdf:

Thanks for your help.

 

<a href="<?php echo $page->url;?>?pages2pdf=1">PDF erstellen</a>

 

Share this post


Link to post
Share on other sites

SOLVED: On the server "readfile()" was disallowed

One problem was, that I used PHP 7.2 on the server. Now i changed to PHP 5.6.

But if I click on the Link (<a href="<?php echo $page->url;?>?pages2pdf=1">PDF erstellen</a>), the file is saved on the server in /site/assets/files/page-id. But no visiual download ond the webpage. It opens just a empty page with the following url: .../page_name?pages2pdf=1. On localhost it works. Does somebody has an idea where my fault is? Thank you.

Share this post


Link to post
Share on other sites

Hello I get this Error if I try to Execute ImportPagesFrom XML 

 

Fatal Error: Uncaught TypeError: Argument 2 passed to Pages2Pdf::getPDFFilePath() must be an instance of Language, instance of ProcessWire\Language given, called in /usr/www/users/ulmmsc/2018cms/site/modules/Pages2Pdf/Pages2Pdf.module on line 177 and defined in /usr/www/users/ulmmsc/2018cms/site/modules/Pages2Pdf/Pages2Pdf.module:259

Language Support is installed. 
 

Also is Multilanguage Checked in the pages2PDF Module 

Share this post


Link to post
Share on other sites

Guys I'm really desperate. The templates can not be changed, I have no idea why. Not the headers or not the default it always stays the same.

It also does not work with Multilanguage. Is nobody there who can help me?

Share this post


Link to post
Share on other sites

The better the questions the better the answers. 

1 hour ago, iNoize said:

The templates can not be changed, I have no idea why.

You cannot expect that forum members can remember the exact problem that you have posted several weeks ago. Describe your problem. Try to make it reproducable (eg by providing a site profile of a clean installation that shows the problem) and I'm sure there will be someone who can help you.

Sometimes even describing the problem as good as you can brings you to the solution 😉 

  • Like 1

Share this post


Link to post
Share on other sites

Just to get the records straight...

  • ProcessWire version?
  • Multilanguage profile or another profile made multilanguage?
  • How many languages?
  • Does it work in any of the languages?
  • PHP version?
  • Module version?
  • How do you generate the PDFs? Code snippet would be great
  • Where do you create the PDFs - frontend or backend?
  • Templates: page or PDF?
  • Template location?
  • Template strategy - delayed, direct, regions?
  • Like 3

Share this post


Link to post
Share on other sites

@bernhard @wbmnfktr

Thanks for the fast answer. So i try to describe the situation. 
I have installed the module.  CURRENTLY SITCHED OFF THE MULTINLANGUAGE SUPPORT ON PW 

ProcessWire 3.0.126 © 2019
PHP 7.2  
Screenshot_3.thumb.jpg.e85f681a55fad9dab9bdab76d0a1b872.jpg

 

So now if i try to change the templates in /site/modules/Pages2Pdf/default_templates
for example 

default.php 
<h1><?= $page->get('headline|title') ?></h1>
<p><?= $page->body ?></p>

<?php if (count($page->immo_images)): ?>
    <?php foreach ($page->immo_images as $image): ?>
        <div class="image">
        <img src="<?= $image->size(400, 400)->url ?>" alt="<?= $image->description ?>" />
        </div>
    <?php endforeach; ?>
<?php endif; ?>


_header.php 
<?php
/*
 * Pages2Pdf default header markup
 * Styles defined in styles.css file
 *
 * You can use {PAGENO} for the current page number and {nbpg} for the total of pages
 *
 */
?>

<div class="head">Test </div>
Hier kommt EXPOSE 
<hr>
Hallo WELT 

Then try to generate the file on the site 

 

$options = array(
  'title' => 'Expose als PDF',
  'markup' => '<a href="{url}" target="_blank" class="btn button-sm border-button-theme col-lg-12 col-md-12 col-xs-12 margin-b-10"  >{title}</a>',
  //'page_id' => '', // Pass a page ID if you want to download the PDF for another page
);
echo $modules->get('Pages2Pdf')->render($options);

nothing happens. 
It generates always the same PDF see as attached. 
There is the standart header and footer. 
Also on the content is the standart code. 

THE CACHE IS ON 1 

 

 

 

neubau-einfamilienhaus-in-burgrieden-pdf-1148 (1).pdf

Share this post


Link to post
Share on other sites

I tried this:

  • fresh 3.0.123 installation
  • multilanguage profile
  • PHP 7.2
  • latest Pages2PDF module

2019-10-02-165040_1683x1417_scrot.thumb.png.db7377434462b967970a511a2f63da7c.png

At first I saw no changes at all because I changed the wrong templates in /site/modules/Pages2PDF/default_templates/ and not those in /site/templates/pages2pdf/.

Right now... all I can say is: it's working as expected. Sure... there is no custom code in my page templates or anythings. Just the basic stuff.

My recommendation: try it with a simple basic template without anything else in it. Maybe even blindtext. Maybe the reason for your errors are at a different place than the module itself.

Update: just saw in your post that you ARE in the wrong folder with the wrong templates.

  • Like 3

Share this post


Link to post
Share on other sites

@wbmnfktr 
ok thats really embrrassing now. 

With the Templates I was in the wrong path. The module  path not the template. 

With the multilanguage i installed not the profile only the module (part of PW Multilanguage Support )
But thanks a lot for the HELP. Now it works with the PDF files without multilanguage. 


 

Share this post


Link to post
Share on other sites

You will remember it the next time. 😉 

I checked the multilanguage support... that worked as well.

2019-10-02-173828_1993x507_scrot.thumb.png.69d3bfb8d630fef9a97aec62eb1dfba1.png

As said before... try taking it apart with just a few simple templates to find the real problem.

  • Like 2

Share this post


Link to post
Share on other sites

@wbmnfktr OK I think the error is not in the pages2pdf I use to import files the ImportPages2Xml module and when the multilanguage is on then the error comes that pages2pdf

Fatal Error: Uncaught TypeError: Argument 2 passed to Pages2Pdf::getPDFFilePath() must be an instance of Language, instance of ProcessWire\Language given, called in /usr/www/users/ulmmsc/2018cms/site/modules/Pages2Pdf/Pages2Pdf.module on line 177 and defined in /usr/www/users/ulmmsc/2018cms/site/modules/Pages2Pdf/Pages2Pdf.module:259

Share this post


Link to post
Share on other sites
On 9/15/2017 at 10:14 AM, maxf5 said:

Hi bernhard,

thank you for the hint.  The image field is set as single element.
 


  <td colspan="1" style="padding:15px">
    <img src="<?= $page->navimg->url; ?>" width="220"/>
    <p><?= $page->navimg->url ?></p>
  </td>

something between ..

<?php if ($page->images->count > 0) : ?>
<table>
  <tr>
  <?php
    $gallery = $page->images;
    $gallery = $gallery->slice(0,4);
   foreach ($gallery as $image): ?>
    <td>
      <img src="<?= $image->size(200, 200)->url ?>" width="200" height="200"/>
    </td>
  <?php endforeach; ?>
  </tr>
</table>
<?php endif; ?>

 

template part:


<?php 
$optionspdf = array(
  'title' => 'Datenblatt',
  'markup' => '<a class="uk-button gaming" href="{url}" download>{title}</a>',
  'pageFormat' => 'A4'
);
echo $modules->get('Pages2Pdf')->render($optionspdf);
?>

 

result:

Unbenannt.thumb.PNG.434147903301c5d7a1ddea668fee6fee.PNG

 

Hello, have somebody solved it now ? 
The Problem i found out is with the png . 

Tried it with jpg it works. 
How to handle it with PNG Files ? 

Updated the mpdf to 6.1 

 

Share this post


Link to post
Share on other sites

I don't know what it was in my case but one of these things fixed it or at least I got the .png files in my PDFs:

  • using relative path to the file
  • installing GD and PHP GD extension (or was it ImageMagick?)

And somehow I was able to get more details about the problems aka got a real error message but it's way too long ago as I can remember this in full detail. 

 

Share this post


Link to post
Share on other sites

Hi there,

I'm unable to set the page orientation to landscape. Any clues ?

Here's what I have in my 'pages2pdf' folder (hence my PDF template) (triggered by a simple front-end link on which I added ?pages2pdf=1' in the url) :

	$pdf = $modules->get("WirePDF");
	$df->pageOrientation = "L";
	echo "This is a test";
	

But my PDF is still in portrait mode 😞

I have also tried this in the front-end page having the PDF download link :

	echo $modules->get("Pages2Pdf")->render(["pageOrientation"=>"L"]);
	

but clicking the generated link still gives me a PDF in portrait mode 😞

On my site, I have many PDF generated this way, but there were all in portrait mde so I've never had to manage such an issue.

If you have an idea, I'd appreciate. Thanks !

Celfred

Edit : Still stuck 😞 For further information, I'm using pages2Pdf 1.1.7 and PW 3.0.123. What I find weird, in my backend modules list, I have WirePDF saying version 0.0.0 and Inactive. Is this normal ?

Share this post


Link to post
Share on other sites

Back again on my preceding matters (sorry to insist...)

I've just noticed this recurring line in my modules log :

Quote

"Configurable module check failed for WirePDF, retrying..."

Do you think this could explain my previous case ?

Any advice on what I should do ? Should I try and reinstall Oages2Pdf completely ? (I'm scared of breaking things).

Thanks !

Share this post


Link to post
Share on other sites

[SOLVED]

I've used this module in the past and it's been great but now I'm having problems.

Scenario

  • Page to output as PDF is different to current page so included link in the template as per instructions
  • Created template in pages2pdf/ templates dir with same name as page template
  • Configured module to use header & footer
  • Set Cache time to 1 to minimise caching while testing
  • Configured Creation Mode to "On click..." as there is no need to store the PDF's on the server

All good so far. Just needed to tweak the topMargin to that the header didn't overlap the main content. That's where I got into trouble.

To eliminate any caching issues, I change $config->debug to true and this was the result:

Spoiler

 


Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; mPDF has a deprecated constructor in /home2/wiserhir/public_html/site/modules/Pages2Pdf/mpdf/mpdf.php on line 66

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; grad has a deprecated constructor in /home2/wiserhir/public_html/site/modules/Pages2Pdf/mpdf/classes/grad.php on line 3

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; form has a deprecated constructor in /home2/wiserhir/public_html/site/modules/Pages2Pdf/mpdf/classes/form.php on line 3

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; cssmgr has a deprecated constructor in /home2/wiserhir/public_html/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 3

Warning: Illegal string offset 'ID' in /home2/wiserhir/public_html/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Cannot assign an empty string to a string offset in /home2/wiserhir/public_html/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Illegal string offset 'ID' in /home2/wiserhir/public_html/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1202

Warning: Illegal string offset 'ID' in /home2/wiserhir/public_html/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1206

Warning: Illegal string offset 'ID' in /home2/wiserhir/public_html/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1406

Warning: Illegal string offset 'ID' in /home2/wiserhir/public_html/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1410

Warning: Illegal string offset 'ID' in /home2/wiserhir/public_html/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

 

 

 

It went on with a lot of garbage and nothing was downloaded.

Switched $config->debug back to false and at least got the download happening.

I need to increase the size of the header so it doesn't overlap the main content. Read the doco and tried to implement the recommendations in every place possible without success.

Question:

How do I change the top margin without hacking the default "30" in the module?

Using PW v3.0.148 and Pages2PDF v1.1.7

Solution:

WirePDF requires the pdf to be saved in order to apply any config changes such as the top margin.

 

 

 

Share this post


Link to post
Share on other sites

I would like to use PHP Version 7.3. Is this possible? What adjustments do I have to make? How can I update mpdf?

Thank you for your help.

Share this post


Link to post
Share on other sites

Hello,

I wanted to use Pages2Pdf to create a pdf in a module. It nearly works, but

  1. Images which I store in the same folder as the templates aren't shown. Neither
    <img src="/site/templates/pages2pdf/logo.png" alt="" width="700">

    nor

    <img src="logo.png" alt="" width="700">
  2. I need to display some data from my method in the module:
      public function ___executeTickets_Pdf() {
    	$data = $this->ticket; 	
    	$pdf = $this->modules->get('WirePDF');
    	....
    }
    
    <?php $data['prename'] ?>

    don't work...

Does someone have a hint? Thanks!

Share this post


Link to post
Share on other sites
17 minutes ago, beate-neu said:

<img src="/site/templates/pages2pdf/logo.png" alt="" width="700">

Have you also tried absolute paths?

<img src="<?= $config->paths->root ?>"site/templates/pages2pdf/logo.png" alt="" width="700">

 

Share this post


Link to post
Share on other sites
1 minute ago, bernhard said:

Have you also tried absolute paths?

just now: no image 😞 But thanks.

Share this post


Link to post
Share on other sites

I have this module working as it should. 

When I turn of TracyDebugger I get these errors. Anybody know why this is?

 

Spoiler

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Cannot assign an empty string to a string offset in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1202

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1206

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1406

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1410

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Cannot assign an empty string to a string offset in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1202

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1206

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1406

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1410

Warning: A non-numeric value encountered in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/mpdf.php on line 32511

Warning: A non-numeric value encountered in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/mpdf.php on line 32511

Warning: A non-numeric value encountered in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/mpdf.php on line 32511

Warning: A non-numeric value encountered in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/mpdf.php on line 32511

Warning: A non-numeric value encountered in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/mpdf.php on line 32511

Warning: A non-numeric value encountered in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/mpdf.php on line 32511

Warning: A non-numeric value encountered in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/mpdf.php on line 32511

Warning: A non-numeric value encountered in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/mpdf.php on line 32511

Warning: A non-numeric value encountered in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/mpdf.php on line 32511

Warning: A non-numeric value encountered in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/mpdf.php on line 32511

Warning: A non-numeric value encountered in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/mpdf.php on line 32511

Warning: A non-numeric value encountered in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/mpdf.php on line 32511

Warning: A non-numeric value encountered in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/mpdf.php on line 32511

Warning: A non-numeric value encountered in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/mpdf.php on line 32511

Warning: count(): Parameter must be an array or an object that implements Countable in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/mpdf.php on line 1770

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Cannot assign an empty string to a string offset in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1202

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1206

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1406

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1410

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Cannot assign an empty string to a string offset in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1202

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1206

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1406

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1410

Warning: A non-numeric value encountered in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/mpdf.php on line 32511

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Cannot assign an empty string to a string offset in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1202

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1206

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1406

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1410

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Cannot assign an empty string to a string offset in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1202

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1206

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1406

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1410

Warning: A non-numeric value encountered in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/mpdf.php on line 32511

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Cannot assign an empty string to a string offset in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1202

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1206

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1406

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1410

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Cannot assign an empty string to a string offset in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1202

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1206

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1406

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1410

Warning: A non-numeric value encountered in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/mpdf.php on line 32511

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Cannot assign an empty string to a string offset in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1202

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1206

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1406

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1410

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Cannot assign an empty string to a string offset in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1202

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1206

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1406

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1410

Warning: A non-numeric value encountered in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/mpdf.php on line 32511

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Cannot assign an empty string to a string offset in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1202

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1206

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1406

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1410

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Cannot assign an empty string to a string offset in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1202

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1206

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1406

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1410

Warning: A non-numeric value encountered in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/mpdf.php on line 32511

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Cannot assign an empty string to a string offset in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1202

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1206

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1406

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1410

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Cannot assign an empty string to a string offset in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1202

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1206

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1406

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1410

Warning: A non-numeric value encountered in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/mpdf.php on line 32511

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Cannot assign an empty string to a string offset in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1202

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1206

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1406

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1410

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Cannot assign an empty string to a string offset in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1202

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1206

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1406

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1410

Warning: A non-numeric value encountered in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/mpdf.php on line 32511

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Cannot assign an empty string to a string offset in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1202

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1206

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1406

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1410

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Cannot assign an empty string to a string offset in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1202

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1206

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1406

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1410

Warning: A non-numeric value encountered in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/mpdf.php on line 32511

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Cannot assign an empty string to a string offset in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1202

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1206

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1406

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1410

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Cannot assign an empty string to a string offset in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1202

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1206

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1406

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1410

Warning: A non-numeric value encountered in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/mpdf.php on line 32511

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Cannot assign an empty string to a string offset in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1202

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1206

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1406

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1410

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Cannot assign an empty string to a string offset in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1126

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1202

Warning: Illegal string offset 'ID' in /home/deb26781n3/domains/dronematica.nl/public_html/doc/site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 1206
%PDF-1.4 %���� 3 0 obj <> /Contents 4 0 R>> endobj 4 0 obj <> stream x��\]w��}ׯ�G�����T�I�$v�HJNO�>0,3I������.$�b13���/q2�s��~`�y����b�]��k&l��'�ϼb��2�Ѳ0��R�B;��/{��f������bΎ��'g'lS߬7������~��T���X���G���\QŖ�Y8�E��Y������^�}��~PV�P�b�}u܏J�z7:��/RT����6��؎2�jx�Ee ^&� �g������K�^1�%?�ձ�>�f~U3����s�����C�M��Τ/'k9ec�}o�+ghA����=���,�.�)�㦰�m��z7_\��Le=��Pg{�Y���U�5i���3[q�[�����|�����$R�BJ�gI�uI���B�_\՛q%��g�ժf�5�i��U���kxI��Pi��)�/��h�<�P��ݔ�y�i�Ւ�s{,���#�Q%(����~W@��K^鲴�ԅ���������{�q2TCJ��������L%$��~G�xh���?��0�U��? B���I{w@��җ���(�"�Br0��k��E�DŽPG��`4*�=�N��c�P���`4*�=������(� hTV{H/��p,�PB��`4*�=�ҡ�lC Q�Ш���^�Ʋ %D V@�F�7���j<�*�ό�\ +¼�m�7V�JQ� ��c�Vƛ+*&(X���1o;� ���F������&�\ VA��z���x�E���Qy=�mmK���F�����u�%�L�}�8oF}%���v��o>����O�Y�݉�ɮ�aFz����bwM���OoEɌ*;�7����-�k�)��:�/�b�'`u��D]��?C��'�׷��ۧl��ͧ�]J���[ߣ=�Yޟ9~�}�:�R��O��#�BZO��^�9s!���|_����U|��_I�f#�d]�?m�}C`��sb����pvѸ��"��Ro�Nޟ�T���P7S�/����n��������|�����y�J��yԕ�Yzp�Y[�I�on��]W�����p+mb)���8�{�+���lѼ��Koi�tS�.��ƀlJ��lռ(����g3�U W�����u㇕�i<����O#�� of�w� �����Ӄ�b,2Q($�H�6����>&�:�+�Q�G���MVb� /�E�z(P�Ԕ="E���G�X�PX���:���QS����6�����E��"����:���QS����қ���P ��!H��"����:�ރ TA���P���9"{��(Vy�=�X��C�*����)�� )*�"�0oD� �q�(X�����Lƽ#����z��䇻�K[���o���z@�W����|��1.����&�_m?��l!�����̗��l`����Cze ��R&���&~��xQUP�v3o>���~�X���-5�yka��;����ٴ�cn=�����P6�|*�Y}����כ�_�0!g��x�+LAJ�w�μaYYpXћ���_��X��+����Po>�WLÜu������Y���W�z� �[�{_o��K����5ϵx�߬��/�f?]\��o.��z}�a�����S��[��/>�3��j{��;5�u*��D�%�}��|��|M,ӡ�����r�Դ�Ϳ~~؅RU�c�r�by}P�E& ��`�}A��(� hTV{H/t ?손�ޖ�b,2Q($�H�P �eJ���Fe�����D�c��BaE���`�wX���GB�j|@�X�E��"���X́+E�*���z��>xA��b��O����o!K���F����&�E.�?&w\ +¼k�豇U왡�����H~�� %���Ϛ�ϛ�p�<��7�{0�:��W~1pi�"S�yY%.Rjvr{u��ݻy�g��D���� � �o"��K*Y�#ܼ,������E�����c�j\�����%;}�N�����`G/]bo��O��X��M����;�O^��y����P�w�y��TӘz 4��G��;���D��L#��@�Ȁ� ��(� hTV{H/r�!ԼPo�}P�E& ��`��Y�2��+�QY��-<1�+E�X�PX��/��VA���P,=���(Vy�=����@{Py=fm����KQ1�(V�y�[����Qy=f� 4C��r�<d�W!��&@�{XŞ����2�R%v��L}_�K����c����d�^$6�zQ͌��~���z��O���i��zz����<=ǖ��^��|Q�HQM�饆�Yb�(����tL ��4R/6�"h�H`�ITNP ���ڀ��� ��XOA�(��'�0�(���Rñ�D-� hTV{y�OL�O>I#_9��`^�R�1z�a4j� ��vRT�i䓆A^~��b\�J���Q�~p���[���O@W<�aa^���D1A�*hT^��k�P�1AŘF�yp¼k�豇U왡��.O��3� /�Gb1.�}%Q��U?�}���~W�Y!W<�aa^����+A�*hT^��k�P�2�;w\ +¼k�豇U왡��.O_���-}�({"_�ѧ��e�S����M��};/g\�T�!���i�ZG��4�3������NooO��וc�����������q�0{���ÇmOwL� ry�<��� ��@b�B�b�����¡���T��|H$�B���)�yh�k�����B�A�~Rn_ ��X|b�������V�K���Z�csH$e��� rm��1$j�w҇x��t��'��Cr��ha endstream endobj 5 0 obj <> /Contents 6 0 R>> endobj 6 0 obj <> stream x��]]wG}���M� C͗�L ��B���f��-9��������=�U��F��/|�����1m�����P2�R�����������C����əWk���(şG�:�����G��V�"��]m��}K=�����f���,Z_��4R2e��u�9��l\�Շ��r�.�z&���=��g�:��j�7y�> w�}��������7�n\(��Br0���]d5�t��D�#HA!�(��i��(�i��BQ��(V{�%�1��\ +�<>�9�c7�c=� �?x����RT�. �a$`,�P� �둹� F�b��\ ��b7������CQm�C~r�OHU}���/$��_�@���D��!��墌�Z�㻫;�to��Pz&�L�shbB�4F=ؓ�7�|R���˯���gw��>�?�+Q�X]�W��爮�߉���S���X\����"���T�+!��r�3��X.�j�U��r�>�?�cP����OQaP�,W���I>ؓ�T��!=ȑO����B���W� �����e��"��F���ޘ�Ua+�sQ(����c���*hԔ=��9IP>VC��E���f�U`�FT?��C�<�޺Ũ+��>�0��`,�P� ��9h�W�ms�E��"�1 F�=�b��z|$v��3#]�*rZ��y���B������ T���V�(S���|^��F*���bf�L*���6 %t���6��U��~�߯Y�F�L��Ƕx�,֗���f�zz���/ܱz�/qz�٬��O�����������w�А@e{�_r76f�k�7����ո��Y��������/�;� ��*�6 N��;���[b�)��nW�*P�& ��`���JB��C=Q��(V{H���fr��Bf�(P�& ��`����k�CQ��(V{�1��bT�. �a`�^wX���GB��� �j��\ +�<~��0w\ T���u|�@{��B,pQ(���G�"���Q��3�v(�eIxo�\��¼3b���*������N���L� U�Z���� ��� ��$|'�g����/�� HUf�Y�8{�W���غ�v|%�����d� �$��(�M�_ (� _ rc����zjd�5��Br0����6�3�PO�`4���󁲂�هzW�B,0Q($�H=(\K��"��F���ޘ`p4a��0�? 0F�;��FM�#��͒&T�E��"���HsǕ�@[P�Y���1*��0��`,�P� ��9h�����z�\ +¼3b���*����G�JPYn��0��:���iU�ǽ8�@u�[?E�m��L�J`ud$���Y�������wK\95Hu��d*���ƙ�E{�}(+q�4�M�^v��ce9�5�m���w~��D����C��$w~���q6�4�`��y�L ��D��L#�|@a����,E X�b���|@b�+�qv�Z��L ��4R����k�C=Q��(V{�1��"T�. �a`�^wX���GB���P���\ +�<~��0{��؂���:>x�����iV�X��?B0�s�(X���Ȝ �C��`��sQ(��F���k�زC���7�>��3��|-3����'"S�yc#���Wr�ƙ��O�3�q�F>�ވͺ�_ӗ�x�B_��ss�3����g�M�.�}��}s�+����ś8f�#��C��A!VB�DQaP�s���\��,��D��`{H�4v�9fM<�-z�TD�|@Y��]("�@��j�7xcW��Q�E��"�������QS�H(v�$A�X ��A�Gb�=��N��~xU��<>x����-�\ +�<����+B�*h�G�L� \9v�=�0o�L�����-;���xg>�gK����o��:뙪�ŷ^��ӻ�v��T.^���T�xyw�׃��rf�����˟е<�hܛ��#.��2�j(�n��ܬĩ����mU��u)N_�g�բY�_-��;�z�W_�}�q�Y����ϱg�L��O�R�1�l��Ju�,�^��T޶�5�����>�\���7�bP�& ��`���>E X�b���| G�ׇ�����)(��Br0���S���BQ��(V{�1��"T�. �a`�^wX���GB��YV5�z. �A�Gb�=W�UlA�zd<���Ũ+�9>�0��`,�P� ��9h�W�-t�E��"�1 F�=�b��z|d�^�C^���2Q�j�>V=���E�����̤*#k�����Hk���YY�r�I��>�y����U�Z__�_ks���b߯ԫ�|����>!��ԫ��� �/�����kh�%6�hIx�\A�Ah �������(� h�=��%r�>�?�cP����OQa�A� ��>E X�b���1��H�(id,��G��u�UШ){$�E��m��( +�<~��0w\ T���u|�@{�B���x���<����+B�*h�G�L� �W�Y#[<8�0o�L�����-;���q�ze�C^���2Q�Z�>Q=��OD&3�:2���M}=�v�G���n���]<}��Ks}��n�ݟ�� �y.�o�o�s�'{\�W�".џ4��ե8^���ߴ�ny���7��� ����4l 2͆�@9%� �,6��f����O�@���$*'��Cz> �ӕ�4K������� �p ���F��[K��"�'A��x#�7%p�Yd$������5�UШ){$��1��� +�<~�� {.��$Q��U?xt�<[' ��� <�0�}�@�g��7����+Y9o��.��r�E��"�1 F�;�b��z�?�H������zd�����7D�� endstream endobj 7 0 obj <> /Contents 8 0 R>> endobj 8 0 obj <> stream x�՝�n7����L��C�s''���8�7X`��4����I ��ے��b�?[ꙅn�\�ׁ��OFV/?���2��Z�O��>���?޻���{���QǗ��}Ӫ����޿���:ڻ���iH��.�X�W5�Զ�V�Θ�n[��H�o�_]�/��N�s����}�Z~�X]}�>�>訟bfT�P�s�����{����YX�%����Ԍ,�t���F0c0�D���㰄��S'�y�^�n0!/�T���|��$7;���νx�)� ����Z1˵�'^�*j�l ��D�F�Ѩ��dFW� ܆�Ϋ�^s�2��$� ����=Y\y�`����< ��O5W}��ȅ�4�$3�Z�Kf�q�W�ۈ��U`��wB�P�j$3�Z�Kf�qv����yN��ǧ��'��5�O��哬�b�$�\,�;���]�2��O��g�I䘄?���-Ҽo�>���Yh�{3���8�GRsҼf��{A��4�u��9.)�,0_0�w��dk%Z�ʁT�=�/���4�ЩS�������(<����\��q�`�����@L��!iN����q��mx� �5g� �M��+��=Y\y�`�C�V%�>?�L���#:������p����+�mD�x�*�WY��;!N(j���5���� ;�lx��� 'T���yKHk{4�d��Ӭ[�y�d6��$�Oi�t�L�y*�N���$�!,O�߾{�^�.>^��X�����~V�_�W����Ǐ���'�y�~w6����Y���*��b=����m$>��P������m8Bkɽ:�Ӣ��� *R��D�������f�N�m���HI'P��/Z�gL$q�`�����@L��Tr-�����W����y�k�A�)��������{���DKP}~����G.t@8��Ns0�_XW~���d$^� �U�c�N��=��N�qvy܄�`6<{^ņ*��ia}]7�>����,���$붰>I2�׎���z���IX�� ;즁#�~�'���zӂ/���F��#�~x���!=����k���%?֜��S�yNHJ:y��c�`���mx�E!+!T���|�`$������ %�@�1������2�F!��+�^E항�<��UV�-����W����y�k�A�5�$^��9+ݓ�ŕ��9hYɖ���Ts�g��\�ȼ�d���<�� qۨE�xث��'�j�ϣ�y܄�`6<{^ņ*��iq�k�>�O��듬���$�\\�<ɔ���֋zڇ��\_�i`��?��-���-����`����nx���U=���]� �5 �id"�m''$%�:�c�`��|��yI��r �mO�'!� �v���)� ����:1˵�'^�*j�l ��D�F�Ҩ��dFW� ܆�Ϋ�^s�2�1%� ����=Y\y�`����p ��O5W}��ȅ�h�$@�Z�Kf�q�W�ۈ��U`��wB�P�j$@�Z�Kf�qv����yN��ǧ��ow�U}�eW`�d��'I�{���`o��a�ʹ�`��?��-��mZ�e�c�>Q������{$5'�kѶL#Q��1����N��C+�7�H�VR&�He�����L㻝:E[� II'Px�u'f�6!��+�^E항�<���X�.����W����y�k�A�5�$^]4��{2����2����KP}~�����G.t�8�m-G����q�W�ۈ��U`��wB�P��@k���-�qv����yN���'�����4����f���$���& i{��Y��`O���N�z�����\��.�?_��O�,��z]��o��������Poz�����Y��ϔ�>�GR3B�u���G#��q����tr� h-�W�7ZҒ0A�@*۞ȷ6�NPo0��u��Ś����t����ax}�Y�F�xث���5��3�������U�6> /Contents 10 0 R>> endobj 10 0 obj <> stream x��]]oܶ}����m�D!)R��~�"H��-.������ۛ�����m���*��ր_�fr�r�:L����H���(���:��~<�3����{���{��Ш�u���j�e/��{����:ݻ�w�T �o���T�����[�c W���T�o~X������c�R�����ݧ���[u�W�Q�$e��PMY*�㯯�z����Ɨ�Ryo��"�0�����C�����S�maʪU'���xX���~u�%�\�iCe��>K�W�C;�ئ��n���v���+���;��N��JYm�Kݾ4:����rj�Qy��(�ޤn��P���߳�*1e6��J�j�J���P� ������`��������uX��2|���������[�@ U�s�m����g)ۻ�E"oW'��ɔ�S*�i��Y�IM���^�s?Hʚ�������tm�4�l[V��(��/���,˯}�b�Ó�������zyq|�����t�7j�ⲻX�P?w7g������Z�W-|F����_���B��yy�����rZ�������ٍZ}��>��-Ի ��Nm���7�| d��}�L�Xq������n ����߫�wQʪ����� |�m�����4��'h8SԶ��E��0n����R,1q("��X��U�"LD�+�Q���^[X��C�a�|alJ��ġ�Nc��@�h-ch � \��'�1��R,qq(���䣀c���*xԜ=2��+t��a��K\�*�<�±��p�;�o���ٝ Wy�;A���;A&2ם�W�`&ɝ�-\=�N��մ+A��ŕ�W���J�}=�oy%���T���`�+AF:ە��z��>�J�Q�x%����o�����MAP�%&E�p��Ğ9�� x��=�e�=s ��R,1q("��X��%Y�>�W��D��ƀnL�j���8U�y�Q�1~�qt�����K\�*�<��1�P� %�Q8d�WC���š�"Λ0(Ư=�b��z|^W�?��+A��TW�LuWW�Ld�+A���L2Wc'] 2:]��|c��ō�5���F�j=�oy#pރכf�d����3�U�-o՜7���۵�y��`� (��ġ�Nc�b���e�!�@�%j��ŀ7�2��` (��"r8�Ջ��&kه� x��=�ЍI\-����8O> 8Ư;��G��#����=��š�"ʓ��sT�(T���G���D�X��PT�ɏ�.��U�(Y� ;��Z�y'.Eqބ�@1~�qvH��3���s�2�'�@՝���\7��f�x#�].������t.��$瘥oq'�����'�W�N��h����P6�+����g��9�2|���U�jFG�A�YS稉{֌�IL���4V��-��14A��G��#z1P�C�C�R�ŏ~����5Hz1PY��1�W��D��ƀnL�'�qI��CQE�'��W����Q��D3�e��PT��{d����P�� (Y���C:�7�J�{�����G�@�*x��G�L�JnW3�9qq(���&���k��ذC����/K�_�U���g��r���l����>p��Yx�pz���t��?�ϒ���07~^W�Ɵ����m�8��5~�jF?_:�K�K�K� 9b�* r�;��;jxM|�%"C�%S9C5�ыM �&�Y3�aC�1�'�>`��e D�+�Q��dc@7&q��Gr�S�Γ���뎫�Qs��(F�S2���4����=2����L��:V�����f|�!�x���<�±��p�j�/�A��/>�Tvn��B�Tg7���"�����������v��o������3X�u�:�=�����u�g���_����л`�����7��{��֮���y��u�>^�����ٕ��=�ˏ�{7M�(y���}qՌ^޴�7��x� 6(7��KL���4V/*bvc��G��#z1��ٍ��x�mx�KL���4V/J�U�D�+�Q��dc@7&qT�%.Eq�|p�_w\���GF�j��j� \�*�> /Contents 12 0 R>> endobj 12 0 obj <> stream x����R�0F�y�oi��@Y�Z�qe���)�ёb�_��_�R� !�ܛ�{� NDH�&L��번�Q,P|ڽ 4������k�}�`�B�Y?��5��JB!��5�����c^���>���:^��?��Y!y��`7޼Dii<��S��{��C8_��<�� XƚY endstream endobj 1 0 obj <> endobj 13 0 obj <> endobj 14 0 obj <> endobj 15 0 obj <> endobj 16 0 obj <> endobj 17 0 obj <> endobj 2 0 obj <> /ExtGState << /GS1 13 0 R >> >> endobj 18 0 obj << /Producer (��mPDF 5.7.4) /Author (��Dronematica) /CreationDate (20200910213653+02'00') /ModDate (20200910213653+02'00') >> endobj 19 0 obj << /Type /Catalog /Pages 1 0 R /OpenAction [3 0 R /XYZ null null 1] /PageLayout /OneColumn >> endobj xref 0 20 0000000000 65535 f 0000014317 00000 n 0000014889 00000 n 0000000015 00000 n 0000000223 00000 n 0000003339 00000 n 0000003547 00000 n 0000006915 00000 n 0000007123 00000 n 0000010289 00000 n 0000010498 00000 n 0000013757 00000 n 0000013967 00000 n 0000014431 00000 n 0000014493 00000 n 0000014590 00000 n 0000014692 00000 n 0000014791 00000 n 0000015040 00000 n 0000015203 00000 n trailer << /Size 20 /Root 19 0 R /Info 18 0 R /ID [ ] >> startxref 15313 %%EOF

 

 

Edited by kongondo
very long text placed inside spoiler

Share this post


Link to post
Share on other sites

@webhoes it is recommended to use the spoiler tags to wrap very long text. I've done this for your post above. Thanks.

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By horst
      ---------------------------------------------------------------------------------------------------------------------------------
        when working with PW version 2.6+, please use Pim2, not Pim!
        read more here  on how to change from the older to the newer version in existing sites
      ---------------------------------------------------------------------------------------------------------------------------------
      PageImage Manipulator, API for version 1 & 2

      The Page Image Manipulator is a module that let you in a first place do ImageManipulations with your PageImages. - And in a second place there is the possibility to let it work on any imagefile that exists in your servers filesystem, regardless if it is a 'known PW-image'.

      The Page Image Manipulator is a Toolbox for Users and Moduledevelopers. It is written to be as close to the Core ImageSizer as possible. Besides the GD-filterfunctions it contains resize, crop, canvas, rotate, flip, sharpen, unsharpMask and 3 watermark methods.



      How does it work?

      You can enter the ImageManipulator by calling the method pim2Load(). After that you can chain together how many actions in what ever order you like. If your manipulation is finished, you call pimSave() to write the memory Image into a diskfile. pimSave() returns the PageImage-Object of the new written file so we are able to further use any known PW-image property or method. This way it integrates best into the ProcessWire flow.

      The three examples above put out the same visual result: a grayscale image with a width of 240px. Only the filenames will slightly differ.

      You have to define a name-prefix that you pass with the pimLoad() method. If the file with that prefix already exists, all operations are skipped and only the desired PageImage-Object gets returned by pimSave(). If you want to force recreation of the file, you can pass as second param a boolean true: pim2Load('myPrefix', true).

      You may also want to get rid of all variations at once? Than you can call $pageimage->pim2Load('myPrefix')->removePimVariations()!

      A complete list of all methods and actions are at the end of this post.
       
      You may also visit the post with tips & examples for users and module developers.


      How to Install
      Download the module Place the module files in /site/modules/PageImageManipulator/ In your admin, click Modules > Check for new modules Click "install" for PageImageManipulator Done! There are no configuration settings needed, just install and use it. Download    (version 0.2.0)
      get it from the Modules Directory History of origins

      http://processwire.com/talk/topic/3278-core-imagemanipulation/


      ----------------------------------------------------------------------------------------------------------


      Page Image Manipulator - Methods

      * pimLoad  or  pim2Load, depends on the version you use!

      pimLoad($prefix, $param2=optional, $param3=optional)
      param 1: $prefix - (string) = mandatory! param 2: mixed, $forceRecreation or $options param 3: mixed, $forceRecreation or $options return: pim - (class handle) $options - (array) default is empty, see the next method for a list of valid options! $forceRecreation - (bool) default is false It check if the desired image variation exists, if not or if forceRecreation is set to true, it prepares all settings to get ready for image manipulation
      -------------------------------------------------------------------

      * setOptions

      setOptions(array $options)
      param: $options - (array) default is empty return: pim - (class handle) Takes an array with any number valid options / properties and set them by replacing the class-defaults and / or the global config defaults optionally set in the site/config.php under imageSizerOptions or imageManipulatorOptions.

      valid options are:
      quality = 1 - 100 (integer) upscaling = true | false (boolean) cropping = true | false (boolean) autoRotation =true | false (boolean) sharpening = 'none' | 'soft' | 'medium' | 'strong' (string) bgcolor = (array) css rgb or css rgba, first three values are integer 0-255 and optional 4 value is float 0-1, - default is array(255,255,255,0) thumbnailColorizeCustom = (array) rgb with values for colorize, integer -255 - 255 (this can be used to set a custom color when working together with Thumbnails-Module)
        outputFormat = 'gif' | 'jpg' | 'png' (Attention: outputFormat cannot be specified as global option in $config->imageManipulatorOptions!) set {singleOption} ($value)
      For every valid option there is also a single method that you can call, like setQuality(90), setUpscaling(false), etc.
      -------------------------------------------------------------------

      * pimSave

      pimSave()
      return: PageImage-Object If a new image is hold in memory, it saves the current content into a diskfile, according to the settings of filename, imagetype, targetFilename and outputFormat. Returns a PageImage-Object!
      -------------------------------------------------------------------

      * release

      release()
      return: void (nothing) if you, for what ever reason, first load image into memory but than do not save it, you should call release() to do the dishes! 😉 If you use pimSave() to leave the ImageManipulator, release() is called automatically.
      -------------------------------------------------------------------

      * getOptions

      getOptions()
      return: associative array with all final option values example:
      ["autoRotation"] bool(true) ["upscaling"] bool(false) ["cropping"] bool(true) ["quality"] int(90) ["sharpening"] string(6) "medium" ["targetFilename"] string(96) "/htdocs/site/assets/files/1124/pim_prefix_filename.jpg" ["outputFormat"] string(3) "jpg" get {singleOption} ()
      For every valid option there is also a single method that you can call, like getQuality(), getUpscaling(), etc. See method setOptions for a list of valid options!
      -------------------------------------------------------------------

      * getImageInfo

      getImageInfo()
      return: associative array with useful informations of source imagefile example:
      ["type"] string(3) "jpg" ["imageType"] int(2) ["mimetype"] string(10) "image/jpeg" ["width"] int(500) ["height"] int(331) ["landscape"] bool(true) ["ratio"] float(1.5105740181269) ["bits"] int(8) ["channels"] int(3) ["colspace"] string(9) "DeviceRGB" -------------------------------------------------------------------

      * getPimVariations

      getPimVariations()
      return: array of Pageimages Collect all pimVariations of this Pageimage as a Pageimages array of Pageimage objects. All variations created by the core ImageSizer are not included in the collection.
      -------------------------------------------------------------------

      * removePimVariations

      removePimVariations()
      return: pim - (class handle) Removes all image variations that was created using the PIM, all variations that are created by the core ImageSizer are left untouched!
      -------------------------------------------------------------------
      * width

      width($dst_width, $sharpen_mode=null)
      param: $dst_width - (integer) param: $auto_sharpen - (boolean) default is true was deleted with version 0.0.8, - sorry for breaking compatibility param: $sharpen_mode - (string) possible: 'none' | 'soft' | 'medium' | 'strong', default is 'soft' return: pim - (class handle) Is a call to resize where you prioritize the width, like with pageimage. Additionally, after resizing, an automatic sharpening can be done with one of the three modes.
      -------------------------------------------------------------------

      * height

      height($dst_height, $sharpen_mode=null)
      param: $dst_height - (integer) param: $auto_sharpen - (boolean) default is true was deleted with version 0.0.8, - sorry for breaking compatibility param: $sharpen_mode - (string) possible: 'none' | 'soft' | 'medium' | 'strong', default is 'soft' return: pim - (class handle) Is a call to resize where you prioritize the height, like with pageimage. Additionally, after resizing, an automatic sharpening can be done with one of the three modes.
      -------------------------------------------------------------------

      * resize

      resize($dst_width=0, $dst_height=0, $sharpen_mode=null)
      param: $dst_width - (integer) default is 0 param: $dst_height - (integer) default is 0 param: $auto_sharpen - (boolean) default is true was deleted with version 0.0.8, - sorry for breaking compatibility param: $sharpen_mode - (string) possible: 'none' | 'soft' | 'medium' | 'strong', default is 'soft' return: pim - (class handle) Is a call to resize where you have to set width and / or height, like with pageimage size(). Additionally, after resizing, an automatic sharpening can be done with one of the three modes.
      -------------------------------------------------------------------

      * stepResize

      stepResize($dst_width=0, $dst_height=0)
      param: $dst_width - (integer) default is 0 param: $dst_height - (integer) default is 0 return: pim - (class handle) this performs a resizing but with multiple little steps, each step followed by a soft sharpening. That way you can get better result of sharpened images.
      -------------------------------------------------------------------

      * sharpen

      sharpen($mode='soft')
      param: $mode - (string) possible values 'none' | 'soft'| 'medium'| 'strong' return: pim - (class handle) Applys sharpening to the current memory image. You can call it with one of the three predefined pattern, or you can pass an array with your own pattern.
      -------------------------------------------------------------------

      * unsharpMask

      unsharpMask($amount, $radius, $threshold)
      param: $amount - (integer) 0 - 500, default is 100 param: $radius - (float) 0.1 - 50, default is 0.5 param: $threshold - (integer) 0 - 255, default is 3 return: pim - (class handle) Applys sharpening to the current memory image like the equal named filter in photoshop.
      Credit for the used unsharp mask algorithm goes to Torstein Hønsi who has created the function back in 2003.
      -------------------------------------------------------------------

      * smooth

      smooth($level=127)
      param: $level - (integer) 1 - 255, default is 127 return: pim - (class handle) Smooth is the opposite of sharpen. You can define how strong it should be applied, 1 is low and 255 is strong.
      -------------------------------------------------------------------

      * blur

      blur()
      return: pim - (class handle) Blur is like smooth, but cannot called with a value. It seems to be similar like a result of smooth with a value greater than 200.
      -------------------------------------------------------------------

      * crop

      crop($pos_x, $pos_y, $width, $height)
      param: $pos_x - (integer) start position left param: $pos_y - (integer) start position top param: $width - (integer) horizontal length of desired image part param: $height - (integer) vertical length of desired image part return: pim - (class handle) This method cut out a part of the memory image.
      -------------------------------------------------------------------

      * canvas

      canvas($width, $height, $bgcolor, $position, $padding)
      param: $width = mixed, associative array with options or integer, - mandatory! param: $height = integer, - mandatory if $width is integer! param: $bgcolor = array with rgb or rgba, - default is array(255, 255, 255, 0) param: $position = one out of north, northwest, center, etc, - default is center param: $padding = integer as percent of canvas length, - default is 0 return: pim - (class handle) This method creates a canvas according to the given width and height and position the memory image onto it.
      You can pass an associative options array as the first and only param. With it you have to set width and height and optionally any other valid param. Or you have to set at least width and height as integers.
      Hint: If you want use transparency with rgba and your sourceImage isn't of type PNG, you have to define 'png' as outputFormat with your initially options array or, for example, like this: $image->pimLoad('prefix')->setOutputFormat('png')->canvas(300, 300, array(210,233,238,0.5), 'c', 5)->pimSave()
      -------------------------------------------------------------------

      * flip

      flip($vertical=false)
      param: $vertical - (boolean) default is false return: pim - (class handle) This flips the image horizontal by default. (mirroring)
      If the boolean param is set to true, it flips the image vertical instead.
      -------------------------------------------------------------------

      * rotate

      rotate($degree, $backgroundColor=127)
      param: $degree - (integer) valid is -360 0 360 param: $backgroundColor - (integer) valid is 0 - 255, default is 127 return: pim - (class handle) This rotates the image. Positive values for degree rotates clockwise, negative values counter clockwise. If you use other values than 90, 180, 270, the additional space gets filled with the defined background color.
      -------------------------------------------------------------------

      * brightness

      brightness($level)
      param: $level - (integer) -255 0 255 return: pim - (class handle) You can adjust brightness by defining a value between -255 and +255. Zero lets it unchanged, negative values results in darker images and positive values in lighter images.
      -------------------------------------------------------------------

      * contrast

      contrast($level)
      param: $level - (integer) -255 0 255 return: pim - (class handle) You can adjust contrast by defining a value between -255 and +255. Zero lets it unchanged, negative values results in lesser contrast and positive values in higher contrast.
      -------------------------------------------------------------------

      * grayscale

      grayscale()
      return: pim - (class handle) Turns an image into grayscale. Remove all colors.
      -------------------------------------------------------------------

      * sepia

      sepia()
      return: pim - (class handle) Turns the memory image into a colorized grayscale image with a predefined rgb-color that is known as "sepia".
      -------------------------------------------------------------------

      * colorize

      colorize($anyColor)
      param: $anyColor - (array) like css rgb or css rgba - but with values for rgb -255 - +255,  - value for alpha is float 0 - 1, 0 = transparent  1 = opaque return: pim - (class handle) Here you can adjust each of the RGB colors and optionally the alpha channel. Zero lets the channel unchanged whereas negative values results in lesser / darker parts of that channel and higher values in stronger saturisation of that channel.
      -------------------------------------------------------------------

      * negate

      negate()
      return: pim - (class handle) Turns an image into a "negative".
      -------------------------------------------------------------------

      * pixelate

      pixelate($blockSize=3)
      param: $blockSize - (integer) 1 - ??, default is 3 return: pim - (class handle) This apply the well known PixelLook to the memory image. It is stronger with higher values for blockSize.
      -------------------------------------------------------------------

      * emboss

      emboss()
      return: pim - (class handle) This apply the emboss effect to the memory image.
      -------------------------------------------------------------------

      * edgedetect

      edgedetect()
      return: pim - (class handle) This apply the edge-detect effect to the memory image.
      -------------------------------------------------------------------

      * getMemoryImage

      getMemoryImage()
      return: memoryimage - (GD-Resource) If you want apply something that isn't available with that class, you simply can check out the current memory image and apply your image - voodoo - stuff
      -------------------------------------------------------------------

      * setMemoryImage

      setMemoryImage($memoryImage)
      param: $memoryImage - (GD-Resource) return: pim - (class handle) If you are ready with your own image stuff, you can check in the memory image for further use with the class.
      -------------------------------------------------------------------

      * watermarkLogo

      watermarkLogo($pngAlphaImage, $position='center', $padding=2)
      param: $pngAlphaImage - mixed [systemfilepath or PageImageObject] to/from a PNG with transparency param: $position - (string) is one out of: N, E, S, W, C, NE, SE, SW, NW,
      - or: north, east, south, west, center, northeast, southeast, southwest, northwest
      default is 'center' param: $padding - (integer) 0 - 25, default is 5, padding to the borders in percent of the images length! return: pim - (class handle) You can pass a transparent image with its filename or as a PageImage to the method. If the watermark is bigger than the destination-image, it gets shrinked to fit into the targetimage. If it is a small watermark image you can define the position of it:
      NW - N - NE | | | W - C - E | | | SW - S - SE  
      The easiest and best way I have discovered to apply a big transparency watermark to an image is as follows:
      create a square transparent png image of e.g. 2000 x 2000 px, place your mark into the center with enough (percent) of space to the borders. You can see an example here! The $pngAlphaImage get centered and shrinked to fit into the memory image. No hassle with what width and / or height should I use?, how many space for the borders?, etc.
      -------------------------------------------------------------------

      * watermarkLogoTiled

      watermarkLogoTiled($pngAlphaImage)
      param: $pngAlphaImage - mixed [systemfilepath or PageImageObject] to/from a PNG with transparency return: pim - (class handle) Here you have to pass a tile png with transparency (e.g. something between 150-300 px?) to your bigger images. It got repeated all over the memory image starting at the top left corner.
      -------------------------------------------------------------------

      * watermarkText

      watermarkText($text, $size=10, $position='center', $padding=2, $opacity=50, $trueTypeFont=null)
      param: $text - (string) the text that you want to display on the image param: $size - (integer) 1 - 100, unit = points, good value seems to be around 10 to 15 param: $position - (string) is one out of: N, E, S, W, C, NE, SE, SW, NW,
      - or: north, east, south, west, center, northeast, southeast, southwest, northwest
      default is 'center' param: $padding - (integer) 0 - 25, default is 2, padding to the borders in percent of the images length! param: $opacity- (integer) 1 - 100, default is 50 param: $trueTypeFont - (string) systemfilepath to a TrueTypeFont, default is freesansbold.ttf (is GPL & comes with the module) return: pim - (class handle) Here you can display (dynamic) text with transparency over the memory image. You have to define your text, and optionally size, position, padding, opacity for it. And if you don't like the default font, freesansbold, you have to point to a TrueTypeFont-File of your choice.
      Please have a look to example output: http://processwire.com/talk/topic/4264-release-page-image-manipulator/page-2#entry41989
      -------------------------------------------------------------------





      PageImage Manipulator - Example Output


    • By d'Hinnisdaël
      Format Datetime fields as Carbon instances.
      You can find the latest release and the complete readme on Github.
      Installation
      composer require daun/datetime-carbon-format Usage
      All Datetime fields will now be formatted as Carbon instances instead of strings. Some examples:
      // $page->date is a Datetime field // Output format: j/n/Y echo $page->date; // 20/10/2020 echo $page->date->add('7 days'); // 27/10/2020 echo $page->date->format('l, F j'); // Monday, October 20 echo $page->date->year; // 2020 echo $page->date->diffForHumans(); // 28 minutes ago Frontend only
      The ProcessWire admin seems to expect datetime fields to be strings. This module will only return Carbon instances on frontend page views.
      Date output format
      When casting a Carbon instance to a string (usually when outputting the field in a template), the field's date output format will be respected.
      Links
      GitHub • Readme • Carbon docs
       
       
      PS. I remember reading about a Carbon module in a recent newsletter, but couldn't find it anywhere. Was that you, @bernhard?
    • By MoritzLost
      TrelloWire
      This is a module that allows you to automatically create Trello cards for ProcessWire pages and update them when the pages are updated. This allows you to setup connected workflows. Card properties and change handling behaviour can be customized through the extensive module configuration. Every action the module performs is hookable, so you can modify when and how cards are created as much as you need to. The module also contains an API-component that makes it easy to make requests to the Trello API and build your own connected ProcessWire-Trello workflows.
      Warning: This module requires ProcessWire 3.0.167 which is above the current stable master release at the moment.
      Features
      All the things the module can do for you without any custom code: Create a new card on Trello whenever a page is added or published (you can select applicable templates). Configure the target board, target list, name and description for new cards. Add default labels and checklists to the card. Update the card whenever the page is updated (optional). When the status of the card changes (published / unpublished, hidden / unhidden, trashed / restored or deleted), move the card to a different list or archive or delete it (configurable). You can extend this through hooks in many ways: Modifiy when and how cards are created. Modify the card properties (Target board & list, title, description, et c.) before they are sent to Trello. Create your own workflows by utilizing an API helper class with many convenient utility methods to access the Trello API directly. Feedback & Future Plans
      Let me know what you think! In particular:
      If you find any bugs report them here or on Github, I'll try to fix them. This module was born out of a use-case for a client project where we manage new form submissions through Trello. I'm not sure how many use-cases there are for this module. If you do use it, tell me about it! The Trello API is pretty extensive, I'll try to add some more helper methods to the TrelloWireApi class (let me know if you need anything in particular). I'll think about how the module can support different workflows that include Twig – talk to me if you have a use-case! Next steps could be a dashboard to manage pages that are connected to a Trello card, or a new section in the settings tab to manage the Trello connection. But it depends on whether there is any interest in this 🙂 Links
      Repository on Github Complete module documentation (getting started, configuration & API documentation) TrelloWire in the modules directory Module configuration

    • By David Karich
      ProcessWire InputfieldRepeaterMatrixDuplicate
      Thanks to the great ProModule "RepeaterMatrix" I have the possibility to create complex repeater items. With it I have created a quite powerful page builder. Many different content modules, with many more possible design options. The RepeaterMatrix module supports the cloning of items, but only within the same page. Now I often have the case that very design-intensive pages and items are created. If you want to use a content module on a different page (e.g. in the same design), you have to rebuild each item manually every time.
      This module extends the commercial ProModule "RepeaterMatrix" by the function to duplicate repeater items from one page to another page. The condition is that the target field is the same matrix field from which the item is duplicated. This module is currently understood as proof of concept. There are a few limitations that need to be considered. The intention of the module is that this functionality is integrated into the core of RepeaterMatrix and does not require an extra module.
      Check out the screencast
      What the module can do
      Duplicate multible repeater items from one page to another No matter how complex the item is Full support for file and image fields Multilingual support Support of Min and Max settings Live synchronization of clipboard between multiple browser tabs. Copy an item and simply switch the browser tab to the target page and you will immediately see the past button Support of multiple RepeaterMatrix fields on one page Configurable which roles and fields are excluded Configurable dialogs for copy and paste Duplicated items are automatically pasted to the end of the target field and set to hidden status so that changes are not directly published Automatic clipboard update when other items are picked Automatically removes old clipboard data if it is not pasted within 6 hours Delete clipboard itself by clicking the selected item again Benefit: unbelievably fast workflow and content replication What the module can't do
      Before an item can be duplicated in its current version, the source page must be saved. This means that if you make changes to an item and copy this, the old saved state will be duplicated Dynamic loading is currently not possible. Means no AJAX. When pasting, the target page is saved completely No support for nested repeater items. Currently only first level items can be duplicated. Means a repeater field in a repeater field cannot be duplicated. Workaround: simply duplicate the parent item Dynamic reloading and adding of repeater items cannot be registered. Several interfaces and events from the core are missing. The initialization occurs only once after the page load event Attention, please note!
      Nested repeaters cannot be supported technically. Therefore a check is made to prevent this. However, a nested repeater can only be detected if the field name ends for example with "_repeater1234". For example, if your MatrixRepeater field is named like this: "content_repeater" or "content_repeater123", this field is identified as nested and the module does not load. In version 2.0.1 the identification has been changed so that a field ending with the name repeater is only detected as nested if at least a two-digit number sequence follows. But to avoid this problem completely, make sure that your repeater matrix field does NOT end with the name "repeater".
      Changelog
       
      2.0.1
      Bug fix: Thanks to @ngrmm I could discover a bug which causes that the module cannot be loaded if the MatrixRepeater field ends with the name "repeater". The code was adjusted and information about the problem was provided 2.0.0
      Feature: Copy multiple items at once! The fundament for copying multiple items was created by @Autofahrn - THX! Feature: Optionally you can disable the copy and/or paste dialog Bug fix: A fix suggestion when additional and normal repeater fields are present was contributed by @joshua - THX! 1.0.4
      Bug fix: Various bug fixes and improvements in live synchronization Bug fix: Items are no longer inserted when the normal save button is clicked. Only when the past button is explicitly clicked Feature: Support of multiple repeater fields in one page Feature: Support of repeater Min/Max settings Feature: Configurable roles and fields Enhancement: Improved clipboard management Enhancement: Documentation improvement Enhancement: Corrected few typos #1 1.0.3
      Feature: Live synchronization Enhancement: Load the module only in the backend Enhancement: Documentation improvement 1.0.2
      Bug fix: Various bug fixes and improvements in JS functions Enhancement: Documentation improvement Enhancement: Corrected few typos 1.0.1
      Bug fix: Various bug fixes and improvements in the duplication process 1.0.0
      Initial release Support this module
      If this module is useful for you, I am very thankful for your small donation: Donate 5,- Euro (via PayPal – or an amount of your choice. Thank you!)
      Download this module (Version 2.0.1)
      > Github: https://github.com/FlipZoomMedia/InputfieldRepeaterMatrixDuplicate
      > PW module directory: https://modules.processwire.com/modules/inputfield-repeater-matrix-duplicate/
      > Old stable version (1.0.4): https://github.com/FlipZoomMedia/InputfieldRepeaterMatrixDuplicate/releases/tag/1.0.4
×
×
  • Create New...