views:

30

answers:

1

i have tinymce embedded in my website, so if users want to edit content, then can click on an "EDIT" link and it brings up the content in tinymce editor. when they click "Save", i save the html to a database. this works perfect and avoids them calling me when they need content changes as they can go in directly and next time they reload the main page, it loads up their changed content.

they now want to be able to add their own images. I see there is some image support in tinymce as seen here, but in my case, the images would be on their computer.

So i am looking for some advice on how to handle image support using tinymce on my asp.net mvc website.

any suggestions?

+1  A: 

I had a similar issue and solved it by;

Allowing the user to upload images which i then stored in the file system.

Once the image was saved then you could use tinyMCE to link to it.

It's a round-about way of doing it but it worked. If your images are stored on a users computer then you're going to need to implement something like this me thinks as you can't assume you can link to the image and if you can you can't be sure the computer will be on.

griegs
@griegs - any recommendations for a plugin to allow image uploading, etc
ooo
you didn't mention a plugin so i think the down vote is a little harsh
griegs