Dashboard

–
Loading…

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…

πŸ“¬ 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…