Browse Source

Testing resize center

Former-commit-id: e25451077d88a72e38195b75253c260adedfa3f2
af/merge-core
James South 12 years ago
parent
commit
c7095a60e4
  1. 3
      src/TestWebsites/NET45/Test_Website_NET45/Views/Home/Index.cshtml
  2. 2
      src/TestWebsites/NET45/Test_Website_NET45/config/imageprocessor/processing.config

3
src/TestWebsites/NET45/Test_Website_NET45/Views/Home/Index.cshtml

@ -18,7 +18,7 @@
<h3>Cropped Percent</h3>
<img src="/images/Penguins.jpg?width=300&height300&crop=0.1,0.2,0.1,0.6&cropmode=percent" />
<img src="/images/bus.jpg?width=311" />
</div>
</div>
</section>
@ -41,6 +41,7 @@
</div>
<div class="col-s-8">
<img src="/images/udendørs.jpg?width=600&height=250&mode=crop" />
<img src="/images/bus.jpg?width=311&height=250&mode=crop&center=0.2,0.7" />
</div>
</div>
</section>

2
src/TestWebsites/NET45/Test_Website_NET45/config/imageprocessor/processing.config

@ -30,7 +30,7 @@
<settings>
<setting key="MaxWidth" value="3000"/>
<setting key="MaxHeight" value="3000"/>
<setting key="RestrictTo" value="width=300"/>
<!--<setting key="RestrictTo" value="width=300"/>-->
</settings>
</plugin>
<plugin name="Rotate" type="ImageProcessor.Processors.Rotate, ImageProcessor"/>

Loading…
Cancel
Save