Folx News Hub main site (folx.tv)
Go to file
sebastjanartic 19953b3b84 Improve focal point editor to precisely set image focus for various aspect ratios
Refactor the `FocalPointEditor` component in `admin-gallery.tsx` to accurately map click coordinates on aspect ratio previews to the original image's focal point. This involves recalculating the mapping logic to account for image scaling and cropping (`object-fit: cover`). Additionally, new focal point data has been added to `server/gallery-focal-points.json`, and some image mappings in `server/cloudinary-gallery-map.json` have been adjusted.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 23852c00-4779-460a-9e0c-d09fee4b6c92
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 2f918981-5322-41bc-8a92-d34c6986c129
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/f209e72a-0939-48fa-84fc-57854de71967/23852c00-4779-460a-9e0c-d09fee4b6c92/ncMMRQ9
Replit-Helium-Checkpoint-Created: true
2026-03-06 11:18:24 +00:00
attached_assets Improve image display in gallery and lightboxes 2026-03-06 10:28:10 +00:00
client Improve focal point editor to precisely set image focus for various aspect ratios 2026-03-06 11:18:24 +00:00
script Extracted stack files 2026-02-28 16:30:25 +00:00
server Improve focal point editor to precisely set image focus for various aspect ratios 2026-03-06 11:18:24 +00:00
shared Restored to '84d7de2da64f8f2fd1e2d64959817c64c8fb7c04' 2026-02-28 20:36:50 +00:00
.gitignore Extracted stack files 2026-02-28 16:30:25 +00:00
.replit Update open graph image URLs for shared content 2026-03-05 15:30:25 +00:00
components.json Extracted stack files 2026-02-28 16:30:25 +00:00
drizzle.config.ts Extracted stack files 2026-02-28 16:30:25 +00:00
package-lock.json Update project dependencies to fix security vulnerabilities 2026-03-05 17:59:11 +00:00
package.json Add Cloudinary integration to optimize and manage images 2026-03-05 13:20:48 +00:00
postcss.config.js Extracted stack files 2026-02-28 16:30:25 +00:00
replit.md Add an admin page for managing gallery images and artist names 2026-03-06 10:48:43 +00:00
tailwind.config.ts Extracted stack files 2026-02-28 16:30:25 +00:00
tsconfig.json Extracted stack files 2026-02-28 16:30:25 +00:00
vite.config.ts Extracted stack files 2026-02-28 16:30:25 +00:00