Skip to main content

Store images

chauffeur media manages the store page images of the game that owns the deploy key. The website's Settings and Images tabs can also change them.

Image rules​

RuleValue
FormatsPNG, JPEG, GIF, WebP. The type is read from the file's contents, not its extension
Size512 to 2048 pixels per side
File sizeUp to 10 MB
GalleryUp to 20 images; up to 10 per media add
ChangesUp to 60 image changes per game per hour

chauffeur checks the format and size locally before uploading.

A public listing needs a cover, a thumbnail and at least 4 gallery images to pass the listing check.

Commands​

chauffeur media list                         # cover, thumbnail and gallery with uids
chauffeur media cover art/cover.png # replace the cover
chauffeur media thumbnail art/thumb.png # replace the thumbnail
chauffeur media add shot1.png shot2.png # append to the gallery
chauffeur media add hero.png --position 0 # insert first; the rest shift down
chauffeur media move <image-uid> --to 2 # move one image
chauffeur media order <uid-3> <uid-1> <uid-2> # set the whole order
chauffeur media delete <image-uid> # remove a gallery image
chauffeur media delete thumbnail # clear the thumbnail (not on public listings)

media order must list every gallery uid exactly once (4154 otherwise). Positions start at 0.

Replace, don't delete, on public listings​

A public listing can't clear its cover or thumbnail (4153). Upload a replacement with media cover or media thumbnail instead. Gallery images can be deleted, but a public listing with fewer than 4 fails the listing check. It then stays public for a grace period before becoming link-only.

From build.yml​

chauffeur build can set images at the same time as a release:

asset:
media:
cover: art/cover.png
thumbnail: art/thumbnail.png
gallery:
- art/shot1.png
- art/shot2.png

The cover and thumbnail replace the current ones; gallery images are appended.

Errors​

CodeMeaning
4150Invalid request; kind must be cover, thumbnail or gallery
4151Not a PNG, JPEG, GIF or WebP, outside 512 to 2048 px, or over 10 MB
4152The gallery already has 20 images; delete one first
4153A public listing needs its cover and thumbnail; replace them instead
4154The order doesn't list every gallery uid exactly once
4290Too many image changes this hour