feat(images): add openimg optimization for landing page#106
feat(images): add openimg optimization for landing page#106emxemirc wants to merge 11 commits intojanhesters:mainfrom
Conversation
emxemirc
commented
Nov 16, 2025
- Integrate openimg with native React component
- Create /resources/images endpoint for on-demand optimization
- Add server-side image source handler for public folder
- Update landing hero, features, and description sections
- Integrate openimg with native React component - Create /resources/images endpoint for on-demand optimization - Add server-side image source handler for public folder - Update landing hero, features, and description sections
- Restrict access to public/images directory only - Validate file extensions (png, jpg, jpeg, webp, avif, gif) - Add path traversal protection - Check file existence before processing - Add comprehensive unit tests for security scenarios
|
Thank you so much for the contribution! Looks good already 🔥 One thing to keep in mind, this should be backwards compatible with Supabase Storage. |
- Add getOptimizedImageUrl helper to wrap image URLs at component level - Extend image optimization to handle remote Supabase Storage URLs - Add allowlistedOrigins configuration for secure remote fetching - Update avatar and logo components across the app - Add comprehensive unit, integration and E2E tests
@janhesters |
Thank you! 🔥 You might also want to rebase on Looking forward! Happy holidays 🙏 |