Logo 
Search:

Asp.net Forum

Ask Question   UnAnswered
Home » Forum » Asp.net       RSS Feeds

Generating dynamic images

  Asked By: Phil    Date: Dec 21    Category: Asp.net    Views: 914
  

were talking the other
day about Http Handlers and images and I
was interested in being able to generate
variously sized images from one source image.
This would enable me to generate high-quality
thumbnails and other images on the fly.

Well, after looking around I came up with a
solution and I am sending it to all as an attachment.
I'd like you to look at it and see if you can improve it.

It's simple to use and some of you may enjoy it.
I've tried it with Server Controls Image and
ImageButton.

You just pass the size image you want and
the full virtual path to your image:

ImageButton1.ImageUrl = "DynamicImages.ashx?size=400&path=/WebApplication1/1019.jpg";

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Lily Brown     Answered On: Dec 21

To use the handler you can just
put it in the root directory of your site.

 
Didn't find what you were looking for? Find more on Generating dynamic images Or get search suggestion and latest updates.




Tagged: