More in this section

Forums / Developing with Sitefinity / Image Cropping

Image Cropping

2 posts, 0 answered
  1. humayoo
    humayoo avatar
    89 posts
    25 Oct 2010
    15 Nov 2010
    Link to this post

    i want to create image cropping functionality in sitefinity. how do i do this in sitefinity? please provide me any example or resources about it.

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    15 Nov 2010
    Link to this post
    Hi humayoo,

    There are built-in query strings that you can use to resize an image.

    • width, height -> the strings provide measures and the image is stretched to fit in them. Example:

    • decreaseOnly -> when true, the image could only be decreased to fit in the measures set by the width and height strings. Still, if the image is smaller, it would not be enlarged. Example:

    • proportional -> when true (by default), the image is stretched only proportionally until it fits in the measures set by the width and height strings.  Example: 

    If you want to crop the image you need to implement a custom module or control. You can take a look at

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered