This recipe addresses Issue 00076, for sites using the cookbook add-on minimage to resize uploaded images. Generating pages with Wikipublisher ignores all images written as Img:file.jpg (or Img:600*800*file.jpg).
To fix this, add the following code to local/config.php, after loading the wikipublisher extensions:
if ($format=='pdf') Markup('pdfImg', '<Img', '/Img:(\d+\*\d+\*)?(.*?)\.(jpg|gif|png)/', 'Attach:$2.p.$3');
This tells Wikipublisher to use the bigger (higher resolution) .p image, which it will resize as necessary, under control of the imagesize meta type.