Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Upload image within TinyMCE not working


Reply


6 Posts   3720 Views

Avatar
blair

Community Member, 9 Posts

12 May 2009 at 3:06pm

I am wanting to find out how to upload an image from within the editor (TinyMCE) in Silverstripe 2.3.0.

When I click on the 'Upload' link in this frame it does nothing:

I have tested this in Firefox 3 and Internet Explorer 6 and 7. It does not work in any of them.

Any help in getting this working would be much appreciated.

Avatar
PGiessler

Community Member, 47 Posts

12 May 2009 at 7:12pm

You have to choose the folder, because without choosing a folder you aren't able to upload files.
If you selected the folder, maybe there is a bug in your SilverStripe Version. The Upload is based on Ajax, so every browser can handle this request. So you should update your version!

Avatar
blair

Community Member, 9 Posts

13 May 2009 at 9:17am

Sorry, yes I did choose a folder before clicking Upload.

I suspect that this may be a bug, but I have not been able to find evidence of anyone else having an issue with it. Upgrading to 2.3.1 may fix it, but the upload function doesn't work for me on [url]http://demo.silverstripe.com[/url] either (not sure which version of Silverstripe the demo uses).

Does this button work for anyone else?

Avatar
blair

Community Member, 9 Posts

13 May 2009 at 4:05pm

I raised this with Silverstripe Support and it turns out it is because the library used for uploading files (SWFUpload) doesn't support Adobe Flash version 10. This is detailed in the following bug: [url]http://open.silverstripe.com/ticket/3023[/url]

By downgrading my Flash to version 9 I was able to get the upload function to work correctly.

Avatar
patte

Community Member, 63 Posts

14 May 2009 at 6:33pm

Edited: 14/05/2009 6:34pm

Thanks much for that info!

I did have the same problem - now I downgraded to Flash Player 9 and the image upload works fine ;-)

[url=http://kb2.adobe.com/cps/142/tn_14266.html]Adobe Website: Archived Flash Players available for testing purposes[/url]

Flash Player 9 (166 MB)

  • flashplayer9r151_win.exe (Flash-Installer für Netscape, Mozilla, Firefox)
  • flashplayer9r151_winax.exe (Flash-Installer für Internet Explorer)
  • flashplayer9r151_win_sa.exe (Flash-Installer für Flash Standalone)

Avatar
Anibe

Community Member, 1 Post

1 December 2010 at 3:16am

If you are using Firefox 3 and you don't want to go through the pain of downgrading Flash, you can simply disable Flash from the browser and the upload will work.

To disable flash in Firefox 3+ goto Tools > Add-ons > Click on Plugins tab.

Scroll down the list and you should see "Shockwave Flash" and the right button to disable it