🐛 Add lightbox dimensions calculation

Implement a method to calculate lightbox dimensions for media items based on their metadata, ensuring proper display in the lightbox. :sparkles: Add delete functionality for media items Implement permission checks for media deletion and update UI to show delete options for authorized users. Add tests for deletable_by? method. :speech_balloon: Update text for clarity and consistency Revise descriptions and prompts to enhance user understanding and engagement. :lipstick: Update button text for clarity Change "Fetch older photos" to "See earlier photos" for improved user understanding. :fire: Remove pre-computed media stats from controller Eliminate unnecessary media stats computation to enhance performance and simplify the controller logic. :lipstick: Update media thumbnail variants and usage Refactor thumbnail handling in the Medium model and update views to use the new variant names for improved consistency and clarity. :lipstick: Add preload option for PhotoSwipe lightbox Enhance the PhotoSwipe lightbox configuration by adding a preload option to improve performance when loading images. :lipstick: Update media thumbnail loading and styling Refine thumbnail loading logic and enhance popup styles for better visual consistency and user experience.

Peter Theill
Deployed by Peter Theill
739 total
87 this month
216 to knipsmig.com
59 this month
Back to feed