Http image processor

I have created a centralized image application for all my other applications.
I created an http handler in this application for an answer.
I pass the image path in the query line and in response it finds the image and adds a watermark and sends it back to the response.
The purpose of this application is to make a watermark and send back to other applications. I am using asp.net with C #.

Now I have a problem on my two pages in the application, I have 15 images to display.
To do this, I need to call the handler 15 times.

Is it possible to get the answer in one call.
Is it possible to combine these images into one and send back the answer using the sprite imageAs a function, I adjust the image on the page. All images are the same size.

I am thinking about the right way or is there any other solution.


Thanks
Shekhar

+3
source share
1 answer

To do this, I must call the handler 15 times.

15 requests are not so many, especially if they are made from a clean page with low general requests.

CSS sprites are undoubtedly good practice, but they are usually created for many small, static images (great for buttons, icons, etc.).

One consideration is the overall size of the images. If the resulting sprite is very large, it can degrade the user's work, forcing them to wait for processing and loading the entire large image.

, , .

, Yahoo Flickr :


( ) ( HTTP- ).

+3

All Articles