Dashboard
Welcome to the KawokoWebz Admin Panel. Use the sidebar or the buttons above to manage data.
π‘ Tip: Click Database for a single place to enter news, events, gallery photos and more.
π° Manage News
Loadingβ¦
π Manage Events
Loadingβ¦
πΌοΈ Manage Gallery β Upload Photos
Use the form below to add a title and upload a photo. Then click Save.
Add Gallery Item
Loadingβ¦
π¬ Contact Messages
Loadingβ¦
ποΈ Villages
Edit short descriptions and details for each area.
Loadingβ¦
π₯ Registered Users
Loadingβ¦
ποΈ Database β Data Input Forms
Enter records directly into the KawokoWebz SQLite database. Choose a table below.
Add News Article
ποΈ Delete Records (bulk select)
Load a table, tick rows (or Select all), then Delete selected. This cannot be undone.
Choose a table above to list records with checkboxes.
π οΈ Image Optimization Tools
Automatically resize and compress images for faster page loads. Max size: 1600Γ1200 Β· JPEG quality ~82%. New uploads are optimized automatically.
WebP Format
WebP images are typically 25β35% smaller than JPEG with similar quality. Accepted on upload everywhere. Use the tools below to convert existing files.
Image Compression
Lower quality = smaller files. Applied automatically on every upload and when you run Optimize.
Image Resizing
All uploads are resized to max dimensions above. Use presets to generate extra sizes, or re-run Optimize after changing max width/height.
Preset buttons set max width/height for new uploads. Batch resize immediately resizes all existing images in gallery & stories folders.
API example: POST /api/admin/batch-resize
curl -X POST http://localhost:5000/api/admin/batch-resize \
-H "Content-Type: application/json" \
-b cookies.txt \
-d '{
"folders": ["gallery", "images"],
"preset": "medium",
"mode": "fit",
"overwrite": true
}'
# Custom size
curl -X POST http://localhost:5000/api/admin/batch-resize \
-H "Content-Type: application/json" \
-b cookies.txt \
-d '{"folders":["gallery"],"width":800,"height":600,"mode":"fit"}'
# Generate extra sizes (keep originals)
curl -X POST http://localhost:5000/api/admin/batch-resize \
-H "Content-Type: application/json" \
-b cookies.txt \
-d '{"folders":["gallery"],"variants":["thumbnail","medium"]}'
How it works
- Accepts JPG, PNG, GIF, WebP on all image uploads
- Corrects EXIF orientation
- Resizes images to configured max size (presets: thumbnail β HD)
- Generates thumbnail variants for gallery uploads
- Compresses JPEG/WebP (quality configurable, adaptive for large files)
- Strips EXIF metadata to reduce file size
- Converts opaque PNG to JPEG for better compression
- Optional: convert library to WebP and update database URLs
- Runs automatically on every new gallery & story image upload
π Success Stories
Review community submissions. Confidential stories still show real author details here for admins only.
Loadingβ¦