Product images come from the Images section of the product editor. The first image is usually the thumbnail shown in product lists and storefront cards.
Before you start
- You are signed in with an
owneroradminrole. - You have an image file ready. The upload accepts PNG, JPEG, GIF, WebP, and AVIF, up to 5 MiB per file.
- You have opened Products and selected a product.
Upload an image
Choose a file
In the Images section, select Upload image and choose a file. The upload starts immediately and does not require a separate save.
Set the thumbnail
The first image becomes the product thumbnail when the product has none. To use another image, select it in the image grid. The preview at the top of the section shows the current thumbnail.
Remove an unwanted image
Select the trash icon on an image to remove it from this product. If it was the thumbnail, the thumbnail is cleared until you choose another image.
Save the product
Select Save product. Removing an image from the draft does not affect the saved product until you save.
Replace an image
Upload the replacement, select it as the thumbnail if needed, remove the old image from the grid, and select Save product. Replacing an image does not delete the old R2 object; cleanup is not implemented. See current limitations.
Image order
Images are stored in upload order. The admin does not provide drag-and-drop reordering yet. To change the order, remove and re-upload the images in the order you want, then save.
Verify
- The product list shows the thumbnail you selected.
- The storefront product card and product page show the image.
- The image loads from
/api/uploads/...on the deployment domain.