Update a Vultr Marketplace gallery image using the Vultr Console or Vultr API to replace outdated screenshots on your application's public landing page.
Updating a gallery image sets it as the main image displayed on the application's public landing page.
This guide explains how to update a gallery image using the Vultr Console or the Vultr API.
Click Marketplace in the Vultr Console's left-hand menu.
Click the application name to open the Edit App screen.
Click the Gallery tab.
Click the Set as main button on the thumbnail you want to use as the main image.
Verify that the Gallery tab marks the selected image as the main image.
Send a PATCH request to the Update Marketplace App Gallery Image endpoint to set an image as the main image. Replace {app-id} with the app's ID and {image-id} with the image's id from How to List Gallery Images.
$ curl "https://api.vultr.com/v2/marketplace/apps/{app-id}/images/{image-id}" \
-X PATCH \
-H "Authorization: Bearer ${VULTR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{
"set_as_main": true
}'
The response contains the image's id, app_id, and set_as_main status.