# Resize image based on one side

Source: [https://docs.virtosoftware.com/docs/virto-workflow-automation-web-part/virto-sharepoint-workflow-activities-kit-sharepoint-2010-workflow-platform/image-activities/resize-image-based-on-one-side/](https://docs.virtosoftware.com/docs/virto-workflow-automation-web-part/virto-sharepoint-workflow-activities-kit-sharepoint-2010-workflow-platform/image-activities/resize-image-based-on-one-side/)
Product: Virto Workflow Automation Web Part
Updated: 2026-08-12


This activity allows resizing image in SharePoint Document Library.

**Note:**The activity overwrites the original image.

![Resize image based on one side activity settings in the SharePoint Workflow Designer](https://img-docs.virtosoftware.com/wp-content/uploads/2024/10/resize_image_based_on_one_side_1.png)

## **SharePoint Workflow Designer Phrase**

Resize this image file url image based on one side Width exactly = 100 pixels

**Parameters**


| Parameter | Description |
|---|---|
| this image file url | URL for the image file.; Ex: http://sharepoinportal/ Shared%20Documents/ProductImage.jpg |
| mode | - Width; - Height; - Long Side; - Short Side |
| value | A new value in pixels |

