Replacing an image and version history
Replace a file while keeping its public ID, see earlier versions, and restore an older one.
Replace an image
Click an image in the Media library and use Replace to upload a new file in its place. The public ID stays the same, and URLs without a version number start showing the new file.
Versions
Each replacement creates a new version (v1, v2, v3…). The image details show the Version history, where you can:
- Open an older version to see it.
- Restore an older version: it becomes current again, saved as a new version.
- Delete an older version: its URLs stop working.
How long versions are kept
Older versions are kept for a period that depends on your plan, from 7 days on Free up to a year on Scale. The version history shows how long on your plan. Kept versions count toward your storage.
Versioned URLs
Delivery URLs can include a version, like …/v3/products/red-shoe. A versioned URL always shows that exact file, which is why it can be cached for a long time. A URL without a version always shows the latest file.
More detail: Versions & trash.