0

IIS6 .NET2 に imageresizer をインストールし、JCropExample2 サンプル プロジェクトをダウンロードしました。エラーは発生しませんが、a: ページの読み込み時に画像のサイズが変更されず、b: トリミングが機能しません。エラーは表示されません。私は .NET を初めて使用するので、何を見逃したのか本当にわかりませんか??

ImageResizer デバッグ:

2 Issues detected:

(Warning):  To potentially see additional errors here, perform an image resize request.


(Warning):  NoCache is only for development usage, and cannot scale to production use.
            Add DiskCache or CloudFront for production use


You are not using any paid bundles.

Registered plugins:

ImageResizer.Plugins.Basic.DefaultEncoder
ImageResizer.Plugins.Basic.NoCache
ImageResizer.Plugins.Basic.ClientCache
ImageResizer.Plugins.Basic.Diagnostic
ImageResizer.Plugins.Basic.SizeLimiting

Configuration:

<resizer>
<pipeline fakeExtensions=".ashx" />
<plugins />
</resizer>


Accepted querystring keys:

quality, format, thumbnail, maxwidth, maxheight, width, height, w, h, scale, stretch, crop, cropxunits, cropyunits, page, bgcolor, rotate, flip, sourceFlip, sFlip, sRotate, borderWidth, borderColor, paddingWidth, paddingColor, ignoreicc, frame, useresizingpipeline, cache, process, margin, anchor, dpi, mode, zoom, 

Accepted file extensions:

bmp, gif, exif, png, tif, tiff, tff, jpg, jpeg, jpe, jif, jfif, jfi, 

Environment information:

Running Microsoft-IIS/6.0 on Microsoft Windows NT 5.2.3790 Service Pack 2 and CLR 2.0.50727.3634
Trust level: Unrestricted
OS bitness: x86
Executing assembly: c:\windows\system32\inetsrv\w3wp.exe
IntegratedPipeline: False

Loaded assemblies:

mscorlib                                 Assembly: 2.0.0.0         File: 2.0.50727.3634  Info: 2.0.50727.3634
System.Web                               Assembly: 2.0.0.0         File: 2.0.50727.3634  Info: 2.0.50727.3634
System                                   Assembly: 2.0.0.0         File: 2.0.50727.3634  Info: 2.0.50727.3634
System.Xml                               Assembly: 2.0.0.0         File: 2.0.50727.3082  Info: 2.0.50727.3082
System.Configuration                     Assembly: 2.0.0.0         File: 2.0.50727.3053  Info: 2.0.50727.3053
System.Data                              Assembly: 2.0.0.0         File: 2.0.50727.3053  Info: 2.0.50727.3053
System.Web.RegularExpressions            Assembly: 2.0.0.0         File: 2.0.50727.3053  Info: 2.0.50727.3053
Microsoft.JScript                        Assembly: 8.0.0.0         File: 8.0.50727.3053  Info: 8.0.50727.3053
System.Web.Mobile                        Assembly: 2.0.0.0         File: 2.0.50727.3053  Info: 2.0.50727.3053
System.ServiceModel                      Assembly: 3.0.0.0         File: 3.0.4506.3636   Info: 3.0.4506.3636
System.Web.Services                      Assembly: 2.0.0.0         File: 2.0.50727.3053  Info: 2.0.50727.3053
System.Drawing                           Assembly: 2.0.0.0         File: 2.0.50727.3639  Info: 2.0.50727.3639
System.EnterpriseServices                Assembly: 2.0.0.0         File: 2.0.50727.3053  Info: 2.0.50727.3053
ImageResizer                             Assembly: 3.2.3.302       File: 3.2.3.302       Info: 3-2-beta-3  Commit: 245e873
System.ServiceModel.Web                  Assembly: 3.5.0.0         File: 3.5.594.1152    Info: 3.5.594.1152
System.WorkflowServices                  Assembly: 3.5.0.0         File: 3.5.594.1152    Info: 3.5.594.1152
System.Runtime.Serialization             Assembly: 3.0.0.0         File: 3.0.4506.3636   Info: 3.0.4506.3636
System.IdentityModel                     Assembly: 3.0.0.0         File: 3.0.4506.3636   Info: 3.0.4506.3636
SMDiagnostics                            Assembly: 3.0.0.0         File: 3.0.4506.3636   Info: 3.0.4506.3636
4

1 に答える 1

1

それはうまくいっています。ホームページのステップ 3/3 を読めませんでした

<!-- Unless you (a) use Integrated mode, or (b) map all reqeusts to ASP.NET, 
     you'll need to add .ashx to your image URLs: image.jpg.ashx?width=200&height=20 -->
         <pipeline fakeExtensions=".ashx" />

統合モードを持たない IIS6 を使用しているため、.jpg.ashx 構文を使用する必要があります。

http://resizer.puremobi.com/JCropExample2/fountain-small.jpg.ashx?width=400

于 2012-07-11T02:41:47.723 に答える