Upgrade bundled JShrink to latest upstream (1.4.0) to fix php-8 issues #1138

Closed
opened 2026-10-05 00:32:50 +02:00 by adam · 2 comments
Owner

JShrink version 0.5.1 is included in piwigo/include/jshrink.class.php .

This is very out of date - this version was released by upstream some 6+ years ago. Version 1.5.0 was released in December 2020:

https://github.com/tedious/JShrink

This also includes some fixes that help php-8 work better and is supported by upstream. Prior to upgrading I was experiencing issues with image rendering hanging, but with this updated version and a minor tweak to piwigo/include/template.class.php to call the updated function name, I've now a functional piwigo 11.2.0 system that seems to work (with some warnings but it works nonetheless).

JShrink version 0.5.1 is included in piwigo/include/jshrink.class.php . This is very out of date - this version was released by upstream some 6+ years ago. Version 1.5.0 was released in December 2020: https://github.com/tedious/JShrink This also includes some fixes that help php-8 work better and is supported by upstream. Prior to upgrading I was experiencing issues with image rendering hanging, but with this updated version and a minor tweak to piwigo/include/template.class.php to call the updated function name, I've now a functional piwigo 11.2.0 system that seems to work (with some warnings but it works nonetheless). <!-- github-sync-id:797875194 -->
adam closed this issue 2026-10-05 00:32:50 +02:00
Author
Owner

Can this bundled version please be upgraded to upstream version 1.4.0 for version 12.0 of Piwigo?

Can this bundled version please be upgraded to upstream version 1.4.0 for version 12.0 of Piwigo? <!-- github-comment-id:877060966 -->
Author
Owner

#951 I close this issue but this is exactly the same request. I'm working on it.

#951 I close this issue but this is exactly the same request. I'm working on it. <!-- github-comment-id:891181191 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#1138