| Age | Commit message (Collapse) | Author | Files | Lines |
|
liberty_generate_thumbnails() has no PDF path without liberty_rasterize_pdf;
mime_pdf_thumbnail() handles PDFs correctly via Imagick. Also pass
attachment_id into fileHash so the sub-call to liberty_generate_thumbnails
has context.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
- FisheyeImage::renderThumbnails: route video/* mime types through
mime_video_create_thumbnail() instead of liberty_generate_thumbnails()
which only handles images — fixes regeneration of existing stored videos
- edit.php: send redirect before generateGalleryThumbnails() using
fastcgi_finish_request() so the browser is released immediately and
bulk thumbnail generation runs in background without nginx timeout
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
- 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>
|
|
Sony cameras write 'SONY DSC' (padded with spaces) into ImageDescription,
which was being copied as the image title. Trim and skip this value so
filename-derived titles are used instead.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
uploading images
New sub-galleries and uploaded images now inherit the protector role_id from
their first parent gallery, matching the behaviour of comment inheritance in
protector_comment_store(). Only applies when no explicit role is chosen (-1).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
getAssoc
image_lookup_inc.php was never calling loadCurrentImage() so previous/next image
IDs were never populated. Also fixed loadCurrentImage to use getAll() instead of
getAssoc() — getAssoc keys by first column so numeric $rows[$i] indexing always
failed to find the current image.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
ancestor walk
gallery_lookup_inc.php was setting gallery_path to just the immediate parent via
getParentGalleries() before getBreadcrumbLinks() ran, causing it to skip the full
iterative ancestor loop and only ever show one level.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
Drop all dependency on getParentGalleries result parsing (fg.* column
casing, associative key detection). Use a single simple getRow per
level with explicit lowercase aliases (gid, cid, gtitle) so Firebird
column name casing can't interfere. Walks up to 10 levels and builds
$ret directly.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
Replaced isset($galleryData['content_id']) with is_numeric($galleryId)
to identify parent gallery entries regardless of column name casing in
the getAssoc result. content_id is now fetched via a direct query so
the loop reliably advances up the hierarchy to the root.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
When gallery_path is not in the URL (pretty_urls), the fallback now builds
$ret directly from per-gallery title lookups instead of relying on the
complex multi-table cross-join verify query, which fails silently for
paths longer than one level. The complex query is still used when
gallery_path arrives via URL.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
getBreadcrumbLinks now walks the full gallery hierarchy recursively
instead of only one level up, so deep paths like Projects > Cadogan
Gardens > Source Material appear in full. Inline nav blocks in
galleriffic, simple_list and auto_flow replaced with gallery_nav.tpl
include (matching fixed_grid). User/Galleries editor link in
gallery_nav.tpl now guarded by hasUpdatePermission.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
configurable
- rows_per_page/cols_per_page (DB) used only by fixed_grid
- total_per_page preference used by auto_flow, simple_list, matteo — shown as one shared
field with the style-appropriate label; falls back to old rows_per_page for migration
- galleriffic_num_thumbs preference replaces hardcoded numThumbs:30 in JS templates
- JS disables hidden style-div inputs on load and switch so only the active style submits
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
Galleriffic JS hardcodes numThumbs:30 in both gallery templates, so the
images_per_page used for image_order.tpl page-break dividers must also be 30
rather than cols_per_page * rows_per_page.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
hits it so we need to handle it
|
|
right number of images per page calculation
|
|
|
|
|
|
of records filtering, getAssoc does not
|
|
|
|
|
|
|
|
some third party code
|
|
updating some third party code
|
|
|
|
gallery_additions; tidy GetRow to avoid null results processing FisheyeGallery
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
constants
|