Loading...
 
Skip to main content

mpdf doesn't include images in many cases including zoombox fluidgrid and others

Status
Closed
Subject
mpdf doesn't include images in many cases including zoombox fluidgrid and others
Version
21.x
22.x
23.x
24.x
Category
  • Conflict of two features (each works well independently)
  • Consistency
  • Usability
Feature
PDF
Wiki Plugin (extends basic syntax)
Resolution status
Fixed or Solved
Submitted by
Xavier de Pedro
Keep informed
Marc Laporte, rjsmelo
Lastmod by
Xavier de Pedro
Rating
(0)
Description

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:
Image 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:
Image Tiki Wiki CMS Groupware Locally Printed To Pdf


Code being used for the first sections about images:

Copy to clipboard
{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.

Files
  1. 2021 09 27 145444
Solution
Workaround
Importance
5
Easy to solve?
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7803
Created
Thursday 05 August, 2021 17:57:39 UTC
by Xavier de Pedro
LastModif
Thursday 27 February, 2025 12:27:53 UTC


Show PHP error messages