tags:

views:

338

answers:

2

Hi all,

How to make an rounded corner image with shadow effect for an image uploaded by user in C#?

A: 

If is only for a display purpose then it would be better not to change the original image uploaded by the user. You can display the image inside an HTML element ( like div ) and style the div with rounded corners and shadow.

Here is a nice one

"Sliding Doors" Box– Rounded Corners for All

Put the user image inside this one.

rahul
+1  A: 

You could use any one of the jQuery plugins to do the job. This has nothing do with c# and is purely a browser-side javascript implementation.

Try this - http://docs.jquery.com/Tutorials%3AWrapping%5FImages%5FWith%5FA%5FDrop%5FShadow and this - http://www.bioneural.net/2008/02/13/corners-gradients-and-shadows-with-jquery/

Hope this helps

Arun

Arun