We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22427
    • 793 Posts

    How to integrate a bunch of already uploaded images?

    In a project I have a lot of galleries, presented (up to now) using [tt]MaxiGallery[/tt] . Now I want to change to [tt]EvoGallery[/tt] .

    Because all the pictures of a gallery are already uploaded in a subdirectory like [tt]assets/galleries/##[/tt] , where [tt]##[/tt] is the ID of the resource of the gallery, I want to make them accessible by EvoGallery without the need to upload them anew one by one.

    Is EvoGallery able to handle this? Then I also could upload images via FTP and let EG create the gallery. A very desirable feature...

    Thank you for hints.
    ottogal


      • 29676
      • 45 Posts
      Great looking gallery tool, but I can’t get passed the first hurdle!

      At http://www.sustainabilityrenewableenergy.com/index.php?id=109 I get "HTTP500 server error"

      [[EvoGallery? &display=`images` &type=`jquery-cycle`]]

      Any help appreciated! If you need more info .. let me know!

      Steve
        • 22427
        • 793 Posts
        @thecubelab:

        First of all try to validate your source code.
        http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.sustainabilityrenewableenergy.com%2Findex.php
        You should replace all the [tt]>[/tt] in your titles by [tt]>[/tt] .
        (See http://www.w3schools.com/html/html_entities.asp )
        And give your pages a valid [tt]DOCTYPE[/tt] .
        Then repeat the validating process to find remaining issues.
          • 4172
          • 5,888 Posts
          Quote from: ottogal at Feb 22, 2011, 03:35 AM


          How to integrate a bunch of already uploaded images?

          In a project I have a lot of galleries, presented (up to now) using [tt]MaxiGallery[/tt] . Now I want to change to [tt]EvoGallery[/tt] .

          Because all the pictures of a gallery are already uploaded in a subdirectory like [tt]assets/galleries/##[/tt] , where [tt]##[/tt] is the ID of the resource of the gallery, I want to make them accessible by EvoGallery without the need to upload them anew one by one.

          Is EvoGallery able to handle this? Then I also could upload images via FTP and let EG create the gallery. A very desirable feature...

          Thank you for hints.
          ottogal




          a little modul could do that
            -------------------------------

            you can buy me a beer, if you like MIGX

            http://webcmsolutions.de/migx.html

            Thanks!
            • 22427
            • 793 Posts
            If I could do a little module... grin
            Edit:
            That module should take the records from the table [tt] prefix_maxigallery[/tt] , transform them in a proper way and append them to the table [tt]prefix_portfolio_galleries[/tt] - something like that?
            (Is it sufficient to just get the table [tt]prefix_portfolio_galleries[/tt] up to date?)
              • 18453
              • 66 Posts
              Quote from: sjmclean at Feb 19, 2011, 04:52 AM

              What PHP version are you running on the server?

              PHP Version 5.2.17
              For more info, check your private messages
                • 18453
                • 66 Posts
                I also got a problem when I changed the path for the image folder.

                The images do upload, and are present in the new folder, but somehow modx screws up the path to the images and doens’t display them backend and frontend.

                I think it has something to do with the path inside siteCache.idx.php not changing..

                $params[\’galleriesPath\’] = isset($galleriesPath) ? $galleriesPath : $modx->config[\’base_path\’] . \’assets/galleries/\’;
                // Path to the galleries directory
                  • 18453
                  • 66 Posts
                  I’ve already found the problem, the EvoGallery snippet and thumb_handler.php aren’t getting their paths from config.inc.php, but have them hard coded..
                    • 18453
                    • 66 Posts
                    I just encountered a serious problem.
                    I just installed a fresh copy of modx and evogallery, and wanted to change the paths I mentioned before.
                    I tried to change the path to the galleries in the EvoGallery snippet and suddenly everything stopped working.
                    So I reinstalled everything and tried to just open the EvoGallery snippet and save it without changing anything.
                    When I did that the gallery again stopped working and outputted nothing, no errors, nothing..

                    Any clue?
                    Thanx in advance!
                      • 18453
                      • 66 Posts
                      This is unbelievable: when editing the snippet directly in mysql it works just fine..