We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24969
    • 120 Posts
    I have searched the form on this and other sites with no luck to my issue, I am able to upload an immage to the server using FTP program. But I cannot get modx to see it when I want to add it to my page. I am also able to upload an image using Resources>>manage files. But again I cannot see the file uploaded when I want to add it to my page.

    I really need to upload images to my site... Please help. The url is
    http://www.mysite.com/modx/modx-0.9.6.3/manager/media/browser/mcpuk/browser.php?Connector=/modx/modx-0.9.6.3/manager/media/browser/mcpuk/connectors/php/connector.php&ServerPath=/modx/modx-0.9.6.3/&editor=tinymce&editorpath=/modx/modx-0.9.6.3/assets/plugins/tinymce3201&type=images
    but I cannot create new folders, or see any files that I have uploaded.

    Hosting info:
    Apache 2.2.11 (Unix)
    SQL:5.0.77-community-log
    PHP: 5.2.9

    My Machine
    OS:Win XP Pro
      The important thing is not to stop questioning. Curiosity has its own reason for existing. One cannot help but be in awe when he contemplates the mysteries of eternity, of life, of the marvelous structure of reality. It is enough if one tries merely to comprehend a little of this mystery every day. Never lose a holy curiosity.

      -Albert Einstein (1879 - 1955)

      Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8e-fips-rhel5 DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
      • 8609
      • 607 Posts
      Not sure exactly what you’re trying to accomplish but one option is to use TVs. See an example in a tutorial I wrote here:

      http://tinyurl.com/cc6yl9

      I created a TV to upload images into posts. Hope this helps. If not please post again

        • 3749
        • 24,544 Posts
        Image template variables are one way to go. Another way is the MaxiGallery snippet which handles image uploads to a gallery very well. Once the images are there, you can display them with either MaxiGallery, or regular image html tags.

        BTW, if you know where the images are (and they are in the MODx site -- e.g. assets/images), you can always display them with a regular (X)HTML image tag in the page content or the template:

        <img src="assets/images/image_name.jpg" alt="whatever" />

        Hope this helps. smiley


          Did I help you? Buy me a beer
          Get my Book: MODX:The Official Guide
          MODX info for everyone: http://bobsguides.com/modx.html
          My MODX Extras
          Bob's Guides is now hosted at A2 MODX Hosting
        • Go to the Tools -> Configuration menu, and the Interface and Features tab. Scroll down to the File base path and File Browser URL items. Make sure they are correct. The file base path should be from your server root (mine is /Applications/MAMP/htdocs/1.0/assets/ ). The file browser URL should work as relative ( assets/ ). Keep in mind that the path root is your server’s filesystem root, while the URL root is your web root. Of course, if you’re on a Windows server it may be different; I don’t know about that.
            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
            • 24969
            • 120 Posts
            Well, I appreciate your aid in this matter. I was under the impression that I could use the insert/edit image button found on the TinyMCE wysiwyg editor it would insert an image.... Am I wrong in this assumption?

            When I click this button I see in the popup window what looks to be a dir listing. But In my case it contains no images.
            huh
            I honestly don’t know what else to tell you, to make this issue clearer.

            I believe my tool>>Configuration menu is set correctly.
              The important thing is not to stop questioning. Curiosity has its own reason for existing. One cannot help but be in awe when he contemplates the mysteries of eternity, of life, of the marvelous structure of reality. It is enough if one tries merely to comprehend a little of this mystery every day. Never lose a holy curiosity.

              -Albert Einstein (1879 - 1955)

              Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8e-fips-rhel5 DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
            • As long as your images are in the assets/images folder, yes, there should be a list of available images and folders there. You should be able to upload images and create new folders.
                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
                • 24969
                • 120 Posts
                When I select the insert/edit picture button, no files are listed. But then I go Resources>>manage files I can see the files and create folders. I just can’t do it from within the insert/edit picture button browse button.
                  The important thing is not to stop questioning. Curiosity has its own reason for existing. One cannot help but be in awe when he contemplates the mysteries of eternity, of life, of the marvelous structure of reality. It is enough if one tries merely to comprehend a little of this mystery every day. Never lose a holy curiosity.

                  -Albert Einstein (1879 - 1955)

                  Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8e-fips-rhel5 DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
                  • 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
                    • 26931
                    • 2,314 Posts
                    Hi there,

                    special characters & spaces in file- and/or folder names could also be the cause fot this

                    j
                      • 3749
                      • 24,544 Posts
                      Quote from: rhyno at Jun 16, 2009, 05:25 PM


                      When I click this button I see in the popup window what looks to be a dir listing. But In my case it contains no images.

                      Did you navigate to a directory that contains images, then click on that directory to make the images appear in the browser, then select one?
                        Did I help you? Buy me a beer
                        Get my Book: MODX:The Official Guide
                        MODX info for everyone: http://bobsguides.com/modx.html
                        My MODX Extras
                        Bob's Guides is now hosted at A2 MODX Hosting