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
Thumbnail960x540 to 1920x1080, 16:9, up to 5 MB. 1280x720 recommended
Cover1024x576 to 2048x1152, 16:9, up to 8 MB. 1024x576 recommended
Screenshot1280x720 to 2048x1152, 16:9, up to 10 MB. 1920x1080 recommended
GalleryUp to 20 screenshots; up to 10 per media add
ChangesUp to 60 image changes per game per hour

16:9 means the width divided by the height is between 1.70 and 1.85. The account avatar is a separate upload: 256x256 to 512x512, square (0.95 to 1.05), up to 2 MB.

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, or outside that slot's size, shape or file size
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