Squawk photos as thumbnails

- Photos show as 64px thumbnails (160px resized copies, made once with
  libvips and kept; lazy-loaded) that open the in-app viewer, which has
  Download; other files keep their name chip and download link
- image_processing gem and the vips variant processor (libvips was already
  in the image)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rickyandClaude Opus 5.5 committed 2026-11-14 07:16:46 -05:00
1 parent 9d3643df33
commit 79a64cc208
6 files changed
+61 -20

No files matched your search

+2 -2
View File
@@ -39,7 +39,7 @@ module SimpleAircraftManager
# config.time_zone = "Central Time (US & Canada)"
# config.eager_load_paths << Rails.root.join("extras")
# Uploads are served as-is (no image variants), so libvips/image_processing is not needed.
config.active_storage.variant_processor = :disabled
# Small resized copies of photos (squawk thumbnails), made with libvips.
config.active_storage.variant_processor = :vips
end
end