When editing an image, you must work with its master version. To modify an image, you must perform the following:
Get the master version.
Get the master version of the image. When you modify an image, you must not work on its live version.
Get a temp version.
Check out the master version to get a temp version of the image.
Modify the temp version.
Set the properties of the temp version to the new values. You can also upload new image data.
Update the master version.
Check in the temp version to transfer the changes to the master version.
Update the live version.
Publish the master version to transfer the changes to the live version.
The example below shows you how to modify an image by the ID of its master version. For more information about working with the ID of the live version, see For developers: Edit content in For developers: Content lifecycle.
The following code modifies an image by the ID of its master version.
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important
Copyright © 2020 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.
Progress, Telerik, Ipswitch, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.
Powered by Progress Sitefinity