Page MenuHomePhabricator

Slideshow mode in Gallery: Using specific pages in a PDF only displays the first page
Open, Needs TriagePublicBUG REPORT

Description

I would like to create a slideshow from pdf file that have several pages. The following does not work as expected:
<gallery mode=slideshow>
File:Annual-Haircut-Day-English.pdf|page=4|
File:Annual-Haircut-Day-English.pdf|page=5|
File:Annual-Haircut-Day-English.pdf|page=6|
</gallery>

Actual Results: It ignores page parameter and shows only the first page of pdf.

Expected Results: Show slideshow of pages 4,5,6


See Also:

Event Timeline

Aklapper renamed this task from Gallery tag with slideshow mode for multi page pdf to Slideshow mode in Gallery: Using specific pages in a PDF only displays the first page.Apr 11 2019, 8:52 AM
Aklapper removed a project: PDF-Rendering.

Thanks for reporting this. The syntax is different on https://www.mediawiki.org/wiki/Help:Images#Rendering_a_gallery_of_images (no | at the end of a line) but I can still reproduce the problem, and the < and > buttons do not work here either.

I have found a workaround for this problem. At least in Russian wiki the following hack works:

{{Imagestack
 |File:Annual-Haircut-Day-English.pdf|page{{=}}1 
 |File:Annual-Haircut-Day-English.pdf|page{{=}}2
 |File:Annual-Haircut-Day-English.pdf|page{{=}}3 
 |File:Annual-Haircut-Day-English.pdf|page{{=}}4 
}}