Printing with mpdf doesn't include images in many cases including params in the plugin img call such as zoombox, or when controlling the display of images from inside a PluginFluidgrid , and in other cases reproduced in the show.t.o instance indicated:
Reproduced in a show2.t.o instance from another bug report (since setting up diagram generation requires some manual steps to get the composer package installed server side)
http://xavi-9794-6688.show2.tikiwiki.org/tiki-index.php?page=Tiki-Wiki-CMS-Groupware
u: admin
p: 12345
Current code used in the show instance:
SVN (24.0vcs): Tuesday August 3, 2021 17:34:21 CEST - REV 78798 (InnoDB)
See pdf produced with pdf:
Tiki Wiki CMS Groupware(1) With Remote Service To Export Images
See the corresponding pdf produced by a local pdf printer from the print veresion of that wiki page:
Tiki Wiki CMS Groupware Locally Printed To Pdf
Code being used for the first sections about images:
{FLUIDGRID()} 5: {img src="tiki-download_file.php?fileId=5&display" width="200"} 6: {img fileId="6" width=200} --- 7: {img fileId="7"} 8: {img src="tiki-download_file.php?fileId=8&display" width=400} {FLUIDGRID} !!# Local Image with zoombox {img fileId="4" thumb="box"} !!# Another local Image without zoombox {img src="tiki-download_file.php?fileId=5&display"} !!# A remote image with zoombox {img src="https://doc.tiki.org/img/wiki_up/393px-Pears.jpg" thumb="box"} !!# A remote image without zoombox {img src="https://doc.tiki.org/dl1480?display&x=250&y=180" }
retested today upgrading the show instance to latest 24.x
"Upgraded today (server side) to latest 24.x branch: r79594 (Last Changed Date: 2022-01-22 14:46:09 +0100 - Sat, 22 Jan 2022) ", adn removed and reinstalled mpdf and diagram packages.
Same issue.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.