mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 23:50:36 -05:00
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:
1 parent
9d3643df33
commit
79a64cc208
6 files changed
+61
-20
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user