[serendipity-cvs] [s9y/additional_plugins] 52ef94: lightbox 3.0: Addition of PhotoSwipe 5 (Vanilla JS...

jmglastetter via php-blog-cvs <[email protected]> Thu, 05 Mar 2026 00:36:27 -0800
Newsgroups gmane.comp.serendipity.cvs
Message-ID <s9y/additional_plugins/push/refs/heads/master/[email protected]>
  Branch: refs/heads/master
  Home:   https://github.com/s9y/additional_plugins
  Commit: 52ef94b9fa7bfe9aa0da1102e4f1e80b3a6c7358
      https://github.com/s9y/additional_plugins/commit/52ef94b9fa7bfe9aa0da1102e4f1e80b3a6c7358
  Author: jmglastetter <[email protected]>
  Date:   2026-03-05 (Thu, 05 Mar 2026)

  Changed paths:
    M serendipity_event_lightbox/ChangeLog
    M serendipity_event_lightbox/UTF-8/lang_de.inc.php
    M serendipity_event_lightbox/lang_de.inc.php
    M serendipity_event_lightbox/lang_en.inc.php
    A serendipity_event_lightbox/photoswipe/photoswipe-lightbox.esm.js
    A serendipity_event_lightbox/photoswipe/photoswipe.css
    A serendipity_event_lightbox/photoswipe/photoswipe.esm.js
    M serendipity_event_lightbox/serendipity_event_lightbox.php

  Log Message:
  -----------
  lightbox 3.0: Addition of PhotoSwipe 5 (Vanilla JS) (#209)

* Addition of PhotoSwipe 5

Bumped version to 3.0.0.
Integrated PhotoSwipe 5.x vanilla JS library.
Removed jQuery requirement for PhotoSwipe mode.
Added aspect-ratio logic to prevent layout shift.
Implemented root-appended responsive captions.

* Change line endings to original LF, to make diff comparison work

* docuemnt changes (in ChangeLog instead of code file)

* Fix photoswipe not engaging when image had class or was webp/avif
Format fix also for other lightboxes

* Make photoswipe respect gallery setting

* Restore comments and formatting, update language files

* Re-use init_js config for photoswipe

* Be defensive about existing regex variable

* document changes

---------

Co-authored-by: onli <[email protected]>



To unsubscribe from these emails, change your notification settings at https://github.com/s9y/additional_plugins/settings/notifications