Last active
          April 5, 2016 16:39 
        
      - 
      
- 
        Save aibrean/619fc4695b170d02aa9fe10eeba1576c to your computer and use it in GitHub Desktop. 
    Umbraco 7 and uCommerce 7 image cropper
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | @{ | |
| var media = product.GetPropertyValue<string>("MainProductImage"); | |
| var mediaSource = umbracoHelper.TypedMedia(media); | |
| } | |
| <img src="@mediaSource.GetCropUrl("umbracoFile", "store-product-medium")" class="main-image" /> | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
https://edgewebware.com/2016/04/umbraco-ucommerce-using-image-cropper-tool/