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
- 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:
However, the pdf version does get the images splitted in several slides/pages.
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+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- 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