Expand description
Lightbox image viewer: full-screen preview with zoom, pan, EXIF details, and keyboard navigation.
Loads preview or original resolution images with pinch-zoom and swipe navigation. Displays an EXIF metadata panel and provides download-to-folder and delete-to-trash actions.
StructsΒ§
- Local
Probe π - Everything we can learn about a local file off the main thread before
handing the data back to GTK.
exifis the cached EXIF parse;dimscomes from a pixbuf header-only read;mtime_isofalls back when the file has noDateTimeOriginalso we always show some date.
FunctionsΒ§
- accent_
row π - apply_
lightbox_ πzoom - Apply zoom to a lightbox Picture. Zoom is fit-relative: 1.0 = the size the
texture would occupy inside
viewerunder Contain layout. >1.0 overflows the viewer for panning. Returns the computed content dimensions when zoomed. - build_
camera_ πgroup - build_
image_ πgroup - build_
location_ πgroup - drag_
export_ πpath - Create a properly-named export copy of a cached file for drag-out.
- exif_
from_ πlocal - Project local-file metadata into the API EXIF shape so the existing renderer handles both sources uniformly.
- fill_
exif_ πbox - Populate the details sidebar with sectioned EXIF metadata.
- format_
bytes π - Format a byte count value into a human-readable size string (e.g. KB, MB, GB).
- format_
camera π - format_
datetime_ πdisplay - Format an ISO 8601 timestamp for display, converting from UTC to the userβs local timezone.
- format_
exposure π - format_
location π - open_
lightbox π - Construct and present the fullscreen lightbox view for a selected asset.
- original_
preview_ πcache_ path - systemtime_
to_ πrfc3339 - Render a
SystemTimeas an RFC3339 string in the local timezone so the existingformat_datetime_displaypipeline can format it consistently with EXIF-derived timestamps. - truncate_
filename π - Truncate a filename to a maximum character limit, appending an ellipsis if needed.