← Back to Website

Platform Guide

Complete how-to documentation for managing your website, gallery, and auctions.

Platform Overview

Your platform consists of three main components that work together:

ComponentURLPurpose
Websitethewaterandoilartist.comPublic gallery & portfolio
APIapi.thewaterandoilartist.comBackend for images, payments, SMS
Auction AppVia ⚙ menu on websiteFull auction management

Accessing Admin Tools

  1. Go to thewaterandoilartist.com
  2. Click the ⚙ gear icon in the top navigation (right side, after "Client Portal")
  3. Enter your admin password when prompted
  4. Choose Gallery Admin or Auction App
Tip The password stays unlocked for your browsing session — you won't need to re-enter it each time you click the gear.

Website Structure

Your website has these main sections:

Updating Website Content

Gallery images are managed through the Gallery Admin — changes appear instantly on the live site. For other content (text, layout), edit index.html and redeploy:

cd C:\Users\artis\Downloads\thewaterandoilartist-site
npx wrangler pages deploy . --project-name thewaterandoilartist-site

The Gallery Admin at /admin lets you manage all artwork in your public gallery. After logging in you'll see a stats row (total artworks, originals, prints, images), a category filter, and a grid of all your artworks.

Adding a New Artwork

  1. Click "+ New Artwork" in the top bar
  2. Fill in the details:
    • Title — Name of the painting (required)
    • Medium — e.g., "Oil on Canvas", "Watercolor on Paper"
    • Status — Original, Print Available, Sold, or Not for Sale
    • Visible — Yes to show on the public gallery, No to hide
    • Categories — Check all that apply
  3. Click "Create Artwork"
  4. The form switches to edit mode — now upload images by dragging or clicking the upload zone
  5. Click image thumbnails to set the cover image
Note The artwork is live on the website immediately after creation. Visitors just need to refresh the page.

Editing an Artwork

  1. Find the artwork in the grid
  2. Click "Edit" on the card
  3. Update any fields — title, medium, status, categories, visibility
  4. Add or remove images as needed
  5. Click "Save Changes"

Adding Images to Existing Artworks

Method 1 — From the Edit modal

Click "Edit" on any artwork, then use the upload zone to add more images.

Method 2 — Using the "+ Add Images" button

  1. Click "+ Add Images" in the top bar
  2. Search for the artwork by name
  3. Select it from the results list
  4. Drop or browse to upload new images
  5. Click "Done" when finished

Bulk Upload

For adding many new artworks at once:

  1. Click "Bulk Upload" in the top bar
  2. Select multiple image files — each becomes a new artwork
  3. Titles are auto-generated from filenames
  4. After upload, edit each artwork to set the correct title, medium, and categories

Reordering Artworks

Drag and drop artwork cards in the admin grid to reorder them. The new order saves automatically and is reflected on the public website.

Multiple Images per Artwork

Each artwork can have multiple images — different angles, framed versions, detail shots, etc.

Creating a New Auction

  1. Open the Auction App (⚙ → Auction App)
  2. Go to Auction Setup (left sidebar → CONFIG)
  3. Fill in:
    • Auction Name — e.g., "Spring Collection 2026"
    • Description — Brief description
    • Venue / Location — Where the live event takes place
    • Beneficiary — If it's a benefit auction (optional)
  4. Set Phase Dates — online bidding open, live event date/time, close date/time
  5. Configure Bidding Rules — buyer's premium %, bid increment, buy now settings
  6. Verify Stripe Integration — Worker URL and publishable key
  7. Click Save Settings

Adding Auction Lots

  1. Go to Catalog (left sidebar)
  2. Click "+ Add Lot"
  3. Fill in lot details — number, title, artist, medium, year, estimates, minimum bid, buy now price
  4. Upload photos for the lot
  5. Save the lot
Tip You can import artwork images from your website gallery into auction lots, saving you from re-uploading. Auction images are stored separately from gallery images.

Running a Live Auction

  1. Go to Live Console (left sidebar)
  2. Select the current lot
  3. Enter bids as they come in — amounts and bidder paddle numbers
  4. Online bidders can bid through the Bidder Portal simultaneously
  5. Mark lots as Sold with the hammer price when bidding ends
  6. Move to the next lot

Buy Now

Bidders can submit Buy Now offers at the listed price. Depending on your settings:

Managing Bidders

Go to Bidders in the sidebar to add and manage registered bidders with their contact info and paddle numbers. Bidders can be marked as in-person or online.

SMS Notifications

The auction app can send SMS alerts via Twilio:

Stripe Payments

Stripe handles all payment processing. Your integration supports direct card payments and payment links sent to buyers.

Processing Payments

  1. In the Catalog or Invoices section, click "Pay with Stripe" on a sold lot
  2. The form shows lot details, hammer price + buyer's premium = total due
  3. Enter card details and click "Pay Now"
  4. Or click "Send Payment Link" to email a secure Stripe link to the buyer

Switching to Live Payments

  1. Ensure your Stripe account is activated at dashboard.stripe.com
  2. Get your live API keys from Developers → API keys
  3. Update the Worker secret key:
    cd C:\Users\artis\gavels-worker\gavels-worker
    npx wrangler secret put STRIPE_SECRET_KEY
    Paste the sk_live_... key when prompted
  4. Update the auction app's publishable key in Auction Setup
  5. Redeploy the website

Test Card Numbers (Sandbox Only)

ScenarioCard Number
Successful payment4242 4242 4242 4242
Declined4000 0000 0000 0002
Requires authentication4000 0025 0000 3155

Use any future expiration date, any 3-digit CVC, and any ZIP code.

Deployment & Updates

File Locations

ComponentLocal Path
Website filesC:\Users\artis\Downloads\thewaterandoilartist-site\
Worker/API filesC:\Users\artis\gavels-worker\gavels-worker\
Auction appC:\Users\artis\Downloads\auction_app_final.html

Deploy Website Updates

cd C:\Users\artis\Downloads\thewaterandoilartist-site
npx wrangler pages deploy . --project-name thewaterandoilartist-site

Deploy API/Worker Updates

cd C:\Users\artis\gavels-worker\gavels-worker
npx wrangler deploy

Managing Secrets

cd C:\Users\artis\gavels-worker\gavels-worker
npx wrangler secret put SECRET_NAME

Current secrets: ADMIN_PASSWORD, STRIPE_SECRET_KEY, TWILIO_ACCOUNT_SID, TWILIO_AUTH_TOKEN, TWILIO_PHONE_NUMBER

Changing your admin password
Run npx wrangler secret put ADMIN_PASSWORD and type your new password. This affects both the Gallery Admin login and the ⚙ gear menu on the website.

Frequently Asked Questions

I added an artwork in the admin but it's not showing on the website.

Make sure "Visible" is set to "Yes" in the artwork's edit form. Then do a hard refresh on the website (Ctrl + Shift + R).

How do I change the order of artworks in the gallery?

In the Gallery Admin, drag and drop artwork cards to reorder them. The new order saves automatically and is reflected on the public website.

Can I hide an artwork without deleting it?

Yes! Edit the artwork and set "Visible" to "No". It stays in the admin but won't appear on the public website.

How do I set the main image for an artwork?

In the edit modal, click on the image thumbnail you want as the cover. It will be highlighted with a "Cover" badge.

What image formats and sizes are supported?

JPG, PNG, and WebP. Maximum file size is 10MB per image. Each artwork can have unlimited images.

Can auction lots include work from other artists?

Yes. Auction photos are stored separately from your website gallery. You can add any artist's work to auction lots.

Can I import gallery images into an auction lot?

Yes! The system supports importing your website gallery images into auction lots so you don't have to re-upload.

When should I switch Stripe from test to live?

Switch when you're ready to accept real payments. You need an activated Stripe account, live API keys, and to update both the Worker secret and the auction app publishable key.

Can I send a payment link instead of processing the card directly?

Yes! Click "Send Payment Link" on the payment form. Stripe generates a secure link you can email to the buyer.

What happens if the API goes down?

The gallery will show "Gallery temporarily unavailable" and the auction app won't process photos or payments. The rest of the website (about, collections, contact) still works.

Can I access the admin from my phone?

Yes! Both the Gallery Admin and Auction App are responsive and work on mobile browsers.

What does it cost to run this platform?

Cloudflare's free tier covers Workers (100K requests/day), Pages (unlimited), R2 (10GB storage), and KV (100K reads/day). Stripe charges 2.9% + 30¢ per transaction. Twilio SMS costs vary by volume.

How is my data backed up?

Cloudflare R2 and KV have built-in redundancy. You can view all gallery data at api.thewaterandoilartist.com/gallery/artworks and save it as a backup.

The Water & Oil Artist — Platform Guide

Built with Cloudflare Workers, Pages, R2 & KV · Payments by Stripe · SMS by Twilio