| Author |
|
| Company |
Wesley Bakker |
| Source Code Available |
Yes |
| License Type |
Free |
| Submitted On |
February 12, 2010 |
| Updated on |
February 12, 2010 |
| .NET Framework |
3.5 |
| Cost |
Free |
Description
The BetterImage control is a web control that communicates with a HttpHandler to render resized and transformed images on the fly.
The NEW BetterImage is almost completely rewritten from http://www.waterwijkers.nl/bip. The code is greatly enhanced and now fully extensible. You can inject your own:
- Image Transformations
This allows for custom transformation that are applied on the fly.
- Output Cache Providers
This allows for custom output caching of resized / transformed images and their metadata.
- Image Retrievers
This allows for custom storage locations for your images. You can store them in a SQL Server Database, SharePoint or a compeltely different web site for example. A DBImageRetriever and SPImageRetriever are included as samples.
Syntax Example
<wmb:BetterImage runat="server" ImageUrl="~/imgs/Sample.jpg" AlternateText="Resized and protected image. Copyright text is added on the fly, src of the image ecrypted and right mousebutton and deeplinking is disabled."
ToolTip="Resized and protected image. Copyright text is added on the fly, src of the image ecrypted and right mousebutton and deeplinking is disabled.">
<ImageSettings MaxWidth="150" MaxHeight="150" DisableRightClick="true" EncryptSrc="true"
Copyright="Copyright to protect images" />
</wmb:BetterImage>
<wmb:BetterImage runat="server" ImageUrl="~/imgs/Sample.jpg" AlternateText="Grayscaled"
ToolTip="Grayscaled">
<ImageSettings MaxWidth="150" MaxHeight="150" Grayscale="true" />
</wmb:BetterImage>
<wmb:BetterImage runat="server" ImageUrl="~/imgs/Sample.jpg" AlternateText="Sepia"
ToolTip="Sepia">
<ImageSettings MaxWidth="150" MaxHeight="150" Sepia="true" />
</wmb:BetterImage>
<wmb:BetterImage runat="server" ImageUrl="~/imgs/Sample.jpg" AlternateText="Negative"
ToolTip="Negative">
<ImageSettings MaxWidth="150" MaxHeight="150" Negative="true" />
</wmb:BetterImage>pre>Screenshots
Reviews
Submit a review