This project is read-only.

TinySLUpload 1.0

Rating:        Based on 3 ratings
Reviewed:  0 reviews
Downloads: 4440
Released: Feb 11, 2010
Updated: Feb 16, 2010 by wtroom
Dev status: Stable Help Icon

Recommended Download

Source Code TinySLUpload_Source
source code, 649K, uploaded Feb 11, 2010 - 3438 downloads

Other Available Downloads

Application TinySLUpload_NoSource
application, 22K, uploaded Feb 11, 2010 - 1002 downloads

Release Notes

The source download includes TinyMCE 3.3b2 so you can run the project and test it out with TinyMCE

A TinyMCE image upload plugin for ASP.NET that utilizes Silverlight 3 to upload the image. This project has a seperate Silverlight 3 project and modifies the current advimage plugin that comes with TinyMCE.


- Silverlight 3
- ASP.NET 2.0 or higher
- Project Source solution will require Visual Studio 2008 and .NET 3.5 SP1


Whatever page your TinyMCE editor is on, please add the following init option:

relative_urls: false

this may not be needed, please see "Other Notes" below

Browse to /tiny_mce/plugins/advimage and do the following

- Overwrite js folder
- Overwrite lang folder
- Add FileUpload.ashx
- Add TinySLUpload.xap
- Overwrite image.htm

Open up image.htm and find the following:

<object type="application/x-silverlight-2" width="100%" height="275">
<param name="source" value="TinySLUpload.xap"/>
<param name="onError" value="onSilverlightError" />
<param name="background" value="white" />
<param name="windowless" value="true" />
<param name="minRuntimeVersion" value="3.0.40624.0" />
<param name="autoUpgrade" value="true" />
<param name="initParams" value="HandlerUri=http://localhost:52594/tiny_mce/plugins/advimage/FileUpload.ashx,ImagePath=http://localhost:52594/documents/editorImages/" />
<a href="" style="text-decoration:none">
<img src="" alt="Get Microsoft Silverlight" style="border-style:none"/>

Edit the initParams values to match the URL location of your website

Open up your web.config file in your ASP.NET application and add the following key name to your <appSettings>

<add key="EditorImagePath" value="~/documents/editorImages/"/>

Note: whatever path you put in for the value above, please make sure it exists on your web server and it has read/write permissions on it.

Other Notes:

In solution, everytime you build it copy the XAP file from the ClientBin and into the advimage folder.

You may not have to add the relative_url: false to your init. I had to because of how my directory structure was setup.

Reviews for this release