# Resize Image By One Side

Source: [https://docs.virtosoftware.com/docs/virto-workflow-automation-app/virto-workflows-for-office-365/image-activities/resize-image-by-one-side/](https://docs.virtosoftware.com/docs/virto-workflow-automation-app/virto-workflows-for-office-365/image-activities/resize-image-by-one-side/)
Product: Virto Workflow Automation App
Updated: 2026-08-12


This activity resizes images by one side.

![Resize Image By One Side activity in the Virto Workflow Designer resizing a SharePoint image to a set width or height](https://img-docs.virtosoftware.com/wp-content/uploads/2024/10/resize_image_by_one_side_1.jpg)

## **Parameters**

Input parameters


| Parameter | Description | Example |
|---|---|---|
| listItemUrl (required) | StringA relative way to the image. | /sites/mySite/MyDocLib/Image\_001.png; [%CurrentItem:Server Relative URL%] |
| siteUrl (optional) | StringAn absolute way to the image’s site. If not defined, current site will be used. | https://mycompany/sharepoint.com/sites/site001 |
| newValue (required) | IntNew image value |  |
| mode (required) | Choice | Width, Height, Long Size, Short Size. |
| destFolderUrl (optional) | StringA relative way to a folder to save resized image. If not defined, current folder will be used. | /sites/MySite/MyDocLib/Folder 001 |


Example

![Example workflow setting image URL, new size value and mode for the Resize Image By One Side activity](https://img-docs.virtosoftware.com/wp-content/uploads/2024/10/resize_image_by_one_side_2.jpg)
