app: uploaded images for announcements, campaigns and events (APP-1.0-PLAN §10)
Photos (JPEG, PNG, WebP, checked by their bytes) uploaded in the admin are turned upright, stripped of their metadata and kept at most 2000 px wide in backend/uploads (UPLOAD_DIR), served at /api/uploads (never a listing, a sandboxing CSP). Content keeps the image's full address, so an upload and an image from elsewhere work alike. 5 GB included or the licence's storage limit; an image still in use can't be deleted. The announcement, campaign and event forms get Upload a photo next to the address. Migration media. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
"express": "^5.3.0",
|
||||
"nodemailer": "^10.3.0",
|
||||
"pg-boss": "^11.1.2",
|
||||
"sharp": "^0.35.5",
|
||||
"zod": "^4.6.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user