ASPimage TinyMCE plugin
a TinyMCE plugin for advanced image placement
IMPORTANT UPDATE: people were mailing me that this plugin wasn't working in the newer versions of tiny.
I have written an updated version, you can find it here.
If you're reading this you propably are an ASP or .NET programmer and, like me, you are using the
excellent moxiecode TinyMCE component in your webapp(s).
There were some plugins available for TinyMCE with extended image possibilities, but none were
based on ASP. So I decided to take some pieces of existing code I had and mix them all together
to create this plugin for TinyMCE based on ASP.
The plugin makes it possible to browse the server and upload images (just make sure the user
IIS_[machinename] has write-rights in the directory you're uploading to.) It also shows a resized
preview of the selected image.
The plugin makes use of a free ASP-based upload-component. I adjusted the code a bit to return
errors if there are any.
The rest of the code is based on the 'advimage' plugin by moxiecode themselves and on a simple ASP browser-like interface.
Please note that the code works okay, but it's far from neat. I needed this plugin for a few
projects, and I haven't taken the time to comment the code extensively or clean it up properly.
Also, the translation TinyMCE normally uses is not 100% implemented. There might be some
hard-coded english sentences mixed in the code here and there. However, they should be pretty
easy to replace if you take the time.
I'm considering adding a few more features like a crop and/or resize function, also it would be
nice to also be able to delete images from the same interface. If I add these features, I will
update the publication accordingly.
Feel free to use and expand the code, but it would be nice if you mention somewhere it was based
on the fruits of my labor. =)
Also, if you added something really cool, please share, I'm sure others would be grateful.
If you don't have a place to publish you code, you can even send it to me and I will put it here.
in the meantime, here is the plugin for you to download .