Recent Changes
Recent Changes · Search:

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',

This tells Wikipublisher to use the bigger (higher resolution) .p image, which it will resize as necessary, under control of the imagesize meta type.

Contributors: John Rankin and Stefan?, Friday, 4 April 2008.

« Hide Text in PDF or HTML | Cookbook | Links Between Books »

Page last modified on 04 April 2008 at 01:43 PM