We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 14066
    • 37 Posts
    Like the title already says, I want to skip the FCK editor upload window when I upload a photo. I have a TV with the input type image. When I want to insert a photo, I have to click on the insert button that’s at the document and then i have to upload the new photo and then I can finally put my photo on the site.

    I wonder if it could be possible to make a TV with a direct option upload option. I click on insert, then I see my hard drive, select a photo and then it uploads automaticly in the assets/images map.
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      That really doesn’t have anything to do with FCK editor. It’s the mcpuk resource browser; it was originally written to go with FCK editor, true, but it works equally well with TinyMCE or stand-alone, as the TVs use it. If you’re working with images, it’s already tied to the assets/images folder. What would your application do about inserting an image that’s already there?

      Anyway, you could check this out http://www.phpletter.com/Demo/Ajax-File--Manager/
      http://modxcms.com/forums/index.php?topic=21068.0
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 14066
        • 37 Posts
        my client doensn’t want that extra step. Now he has to upload an image from a map on the hard drive, and after that select that image again in the upload module. It would be a lot easier if you could select the image from the hard drive, and save it in the map images when you click on the save button of the document...
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          This is pretty, but I have no idea how you would get it into the Manager. http://www.atwebresults.com/php_ajax_image_upload/
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 11681
            • 98 Posts
            Dear Susan,
            About this topic, you said
            That really doesn’t have anything to do with FCK editor. It’s the mcpuk resource browser; it was originally written to go with FCK editor, true, but it works equally well with TinyMCE or stand-alone, as the TVs use it. If you’re working with images, it’s already tied to the assets/images folder. What would your application do about inserting an image that’s already there?

            Anyway, you could check this out http://www.phpletter.com/Demo/Ajax-File--Manager/
            http://modxcms.com/forums/index.php?topic=21068.0
            Is there a way to change the base path from which FCK editor image-resource navigation starts? As a wary noob, I wanted to avoid co-mingling my own images with those provided with the MODx installation. So I placed them in assets/my_images and sub-folders from there. My site works fine. However, when I attempt to Insert an image into a template variable of type=image, FCK editor’s Resources Browser, starting at assets/images, won’t let me click upward to the parent (assets) folder. So I’m unable to navigate to my_images using the Resources Browser

            It’s just an annoyance, no harm done, because I can enter a path to the desired image manually, and I can verify that the TV points at the image file. But there is this weird side effect, that the image appears twice in the TV-entry area. One appearance is simply the image. The other appearance incorporates a link to the Resources Browser. A click on it opens Resources Browser once again to assets/images: No help, I still can’t navigate up the tree.

            I found the file base path setting in the Manager’s "Tools -> Configuration -> Interfaces & Features -> File base path." Is there a similar setting in the Manager for the Resources Browser or mcpuk? Or perhaps in a config file somewhere? Or is the code hardwired, and so I’m just out of luck?

            For the record, I’m running Evo 1.0.4.

            Thanks for your thoughts.
              I looked just like that in 1964.