开发者

how to manage image file in c# for asp.net mvc web-application

How to manage user picture 开发者_StackOverflow社区in c# for my web application

i want all images as

1.png 2.png 3.png if user upload GIF and jpeg that it is convert to .png

how i can do this.


Phil Haack just wrote about Uploading a file (or files) with ASP.NET MVC.

This will give you a good starting place with your image upload requirements.

Once you've obtained the image from the user you can name it anything you like before saving. You could store all images together and link the user to the image via a database entry or you could create a user image folder and store the image in there.

There's a huge variety of ways you can accomplish your goal so these are just a couple of sugestions to help you along the way.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜