Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Oct 04, 2010 @ 11:56
    Ismail Mayat
    1

    Tinymce insert image from folder

    I am using umbraco 4.5.2 and was wondering if anyone has done the following.  

    Using the tinymce rich text editor when you insert image you get option of pasting a url or picking an image from media folder or creating new one.   Has anyone come across any hacks for tinymce so that you can also select image from folder on the web server?  

    Guess I could create macro which would allow selection from folder on server and insert image that way?

    Regards

    Ismail

  • Comment author was deleted

    Oct 04, 2010 @ 12:07

    Hi Ismail,

    It's surprisingly easy to create a tinymce plugin, so creating an image picker wouldn't be that hard. You should be able to find an example plugin on the tinymce site. And then it's just a mather of creating a custom aspx page that shows a folder browser...

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Oct 04, 2010 @ 12:15
    Ismail Mayat
    0

    Tim,

    Not sure what version of tinymce umbraco uses but the demo on page http://tinymce.moxiecode.com/examples/full.php when you click insert image the image url option is a button and that shows a folder on the server I need exactly that option, dont need the image managment ie adding removing images just the ability to browse and select image and insert into rich text editor.  

    Bascially the scenario is this, we have client who are moving from Immediacy cms to Umbraco.  I am going to do content import using CMSImport.  The images are all in /images/ and images/system_images so was just going to copy over those folders.  Any images that are referenced in content should still render correctly.  However the issue is becuase those images are not in media section under Umbraco control those images will not be reusable in content editor however if I can re add the functionality that tinymce already has (as shown by the demo link) then my issue is solved.

    Regards

    Ismail

  • Comment author was deleted

    Oct 04, 2010 @ 12:17
  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Oct 04, 2010 @ 12:36
    Ismail Mayat
    0

    Tim,

    Cool, think we will recommend buying that. Found some installation instructions for it here http://wiki.moxiecode.com/index.php/MCImageManager:Installation#Installing_ImageManager_.NET  Do you happen to know what files i would need to change in tinymce3 folder in umbraco_client dir to replace the existing url functionality so far found insertImage.aspx not sure where i would imagemanager to the TinyMCE init options?

    Regards

    Isamil

Please Sign in or register to post replies

Write your reply to:

Draft