Support PDFs in lightbox

Created on 3 February 2022, over 2 years ago
Updated 28 March 2023, over 1 year ago

Problem/Motivation

I manually ported a website from D6 to D9. I used lightbox2 in D6, replaced with slimbox in D9. For images, this module works great with no changes to html, but for pdfs, instead of loading nearly instantly as it does in D6, the slimbox just spins forever and never loads the pdf. I'm not sure if slimbox is designed to load pdfs or not. If not, it would be great to have this feature. If it is supposed to reproduce the features of Lightbox2, then pdfs should be supported. Thank you.

Steps to reproduce

For working D6 version, see https://susansmithjones.com/motivational-presentations-lectures-seminars, scroll down and click on the link "StressLess Living Seminars"
For a D9 implementation, see
https://d9.susansmithjones.com/motivational-presentations-lectures-seminars , scroll down and click on the link "StressLess Living Seminars"

Proposed resolution

Add pdf support or fix bug, if pdf support is already in design, or provide a recommendation to implement pdfs in a lightbox.

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Active

Version

2.0

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States EBasye

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024