diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-05-25 11:40:10 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-05-25 11:40:10 +0100 |
| commit | 389d36e820c28819efd9c6dd49b103bb1b0edf42 (patch) | |
| tree | 7056e9dbb03abbbb6f3503c4fe04d0e6d2184243 /includes | |
| parent | aafa6c0519a068d14e7c6a1ce0d90ba835ecd1f1 (diff) | |
| download | fisheye-389d36e820c28819efd9c6dd49b103bb1b0edf42.tar.gz fisheye-389d36e820c28819efd9c6dd49b103bb1b0edf42.tar.bz2 fisheye-389d36e820c28819efd9c6dd49b103bb1b0edf42.zip | |
Galleriffic: fix fancyzoom interference, add regenerate-thumbnails UI
- Add rel="nozoom" to all galleriffic thumb <a> links so FancyZoom's
loading animation doesn't fire when selecting images in galleriffic
- Add "Regenerate All Thumbnails" checkbox to edit_gallery.tpl (only
shown for existing galleries)
- Fix edit.php calling non-existent generateThumbnails() on a gallery
object — corrected to generateGalleryThumbnails()
- Add set_time_limit(0) inside generateGalleryThumbnails() so large
galleries don't time out during thumbnail regeneration
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'includes')
| -rwxr-xr-x | includes/classes/FisheyeGallery.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/classes/FisheyeGallery.php b/includes/classes/FisheyeGallery.php index 1c89b34..a66a8d4 100755 --- a/includes/classes/FisheyeGallery.php +++ b/includes/classes/FisheyeGallery.php @@ -402,6 +402,7 @@ class FisheyeGallery extends FisheyeBase { public function generateGalleryThumbnails(): void { if( $this->isValid() ) { + set_time_limit(0); if( $this->loadImages() ) { foreach( array_keys( $this->mItems ) as $key ) { $this->mItems[$key]->generateThumbnails(); |
