Andornot Consulting Inc.
Home Page
Home Page
 |  |  | 

Image Handling Options

Image Handler thumbnail

The Andornot ImageHandler is a powerful solution for dynamically modifying your online images. Since it is an ASP.NET HttpHandler, once deployed you do not have to add any controls or write any code to take full advantage of its functionality; rather, you simply need to modify an existing image tag with some additional attributes.

For example, a typical image tag such as <img src="images/mountain.jpg" alt="Sample Image"> can be modified to <img src= "images/mountain.jpg?w=100wm=1" alt="Sample Image">. In this case, the mountain.jpg image will be resized to 100px wide (aspect ratio for height maintained) with a watermark applied.

This tag can be easily added to Inmagic forms in order to, for example, display a properly resized 100px wide image on a brief web display, while displaying the same image 300px wide on the full display. Behind the scenes there is only one image which is being repurposed as needed.

The Andornot ImageHandler provides the following feature set:

Dynamic thumbnail generation/image resizing (with file-based caching)

  • With the Andornot ImageHandler there is no longer any need to create a separate file for thumbnail images on your Web site. Rather, the ImageHandler dynamically generates thumbnails on the fly according to easily configurable parameters (i.e. mountain.jpg?w=100).
  • Each thumbnail is cached for performance benefits.
  • Any number of different sized images can be created from an original image; by simply adding a width or height attribute, an image can be resized to your specifications while aspect ratio is maintained.
  • Image quality of the resized images is retained while file-size is impressively reduced. For example, the ImageHandler can be configured to resize a 1200x1600 image (file size 2.5Mb) to a 75x100 thumbnail image (with a file size of ~10kb).

Dynamic watermarking

  • Automatically add a text watermark to images, whether to all images in a directory, all images above a certain size, or image by image.
  • The ImageHandler's watermarking feature includes the ability to set many different attributes including setting the text, font, font color, font size, position, shadow, shadow color, shadow position, percent fill, full page repeat, transparency, transparency alpha value, and more.

Securing images against no referrers

  • To prevent unauthorized access to full size images, the ImageHandler can be configured to prevent users from typing in the exact URL of an image.
  • If attempted, the user is redirected to a "No Access Page".

Contact us for more information on the Andornot ImageHandler.