Loading...
 
Skip to main content

mpdf generation from slideshow fails to respect image sizes and therefore content overflow slides

Status
Open
Subject
mpdf generation from slideshow fails to respect image sizes and therefore content overflow slides
Version
24.x
Category
  • Conflict of two features (each works well independently)
  • Consistency
  • Usability
Feature
PDF
Slideshow
Resolution status
Confirmed
Submitted by
Xavier de Pedro
Keep informed
Marc Laporte, rjsmelo
Lastmod by
Xavier de Pedro
Rating
(0)
Description

Export a pdf version of slides (using mpdf) from the slideshow fails to respect image sizes when within PluginFluidgrid, and therefore content overflows slides in some cases.

Example of code from a production site:

Copy to clipboard
{slideshow theme="sky" transition="slide" transitionSpeed="default" backgroundTransition="none" controls="y" controlsLayout="bottom-right" controlsBackArrows="faded" progress="y" slideNumber="y" fragments="n" fragmentClass="grow" fragmentHighlightColor="none" autoSlideStoppable="y" alignImage="n"} ^Presentació a: https://foo/bar ^ {FLUIDGRID()}~~cyan:.~~ {DIV(style="text-align:left")} __Apartats de la xerrada d'avui__ (''Xavier''): 1. Dades crues 2. Processat de dades d'un mes 3. Processat múltipes mesos 4. Ingesta Dades Fusionades a CityOS 5. Ús de les dades 6. Pendent: Errades en agregats esbiaixats 7. Altres (per qui vulgui saber més detalls ;-) {DIV} {img fileId="4"} --- {img fileId="5"} --- {img fileId="6"} {img fileId="7"} {FLUIDGRID}


Slideshow displays images in the fluidgrid as expected:
Image

However, the pdf version does get the images splitted in several slides/pages.
Image

Similar issue reproduced here:
http://xavi-9794-6688.show2.tikiwiki.org/tiki-index.php?page=new_page
u: admin
p: 12345
In this show instance, nothing is displayed in the pdf.
Using latest 24.x branch: r79594 (Last Changed Date: 2022-01-22 14:46:09 +0100 - Sat, 22 Jan 2022)

Importance
5
Easy to solve?
5
Priority
25
Demonstrate Bug on Tiki 19+
Please demonstrate your bug on show2.tiki.org
Demonstrate Bug (older Tiki versions)
Ticket ID
7807
Created
Thursday 05 August, 2021 21:50:08 UTC
by Xavier de Pedro
LastModif
Saturday 22 January, 2022 23:37:11 UTC


Collapse/expand modules below
Show PHP error messages