开发者

HTML editor and image upload to server

开发者 https://www.devze.com 2023-03-02 13:03 出处:网络
In asp.net, when we work with any html editor, I often include images and text. How will images upload to a speci开发者_如何学Gofic folder in the server and be saved as a relative path in the db. I Ne

In asp.net, when we work with any html editor, I often include images and text. How will images upload to a speci开发者_如何学Gofic folder in the server and be saved as a relative path in the db. I Need this concept for a CMS.


I was using CKEditor first but it was found a bit difficult to work with asp.net. So I moved to obout editor. I think your problem can be solved with obout html editor. check this link, obout.com - Html Editor - Image upload


Why do you need to store the image's relative path in the DB ? As there is no need, because the content html is saved in the DB and when you the retrieve that content that particular image will be shown in the content.

As far as I have used CK Editor, there is some setting required in the config file to set the path where the images are stored when user adds images in content.

0

精彩评论

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