public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
        {
            if (value == null)
            {
                return(null);
            }

            return(ShopproHelper.CreateThumbnailImage((string)value, 60)); // TODO: pass width as parameter. Now it is hard-coded
        }
        public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
        {
            if (value == null)
            {
                return(null);
            }

            return(ShopproHelper.CreateThumbnailImage((Stream)value, 60));;
        }