We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 33372
    • 1,611 Posts
    Nice tweak, Susan. I’m gonna try combining that with a language variable also so that I can use the same photos on different pages with captions in in different languages. In my case there will just be two languages so I can just add some fields to the database and management scripts.
      "Things are not what they appear to be; nor are they otherwise." - Buddha

      "Well, gee, Buddha - that wasn't very helpful..." - ZAP

      Useful MODx links: documentation | wiki | forum guidelines | bugs & requests | info you should include with your post | commercial support options
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      And it was all for nothing, the client decided that he didn’t want the galleries there after all. <sigh>
        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
        • 16508
        • 3 Posts
        hi!
        your gallery is a great tool but i have problems running it on my server because safe mode is on and i can’t change that.
        is there some way to get it working even with safe mode on?
          • 28042 ☆ A M B ☆
          • 24,524 Posts
            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
            • 16508
            • 3 Posts
            Quote from: sottwell at Aug 03, 2006, 12:51 PM

            This might help... http://modxcms.com/forums/index.php/topic,3843.msg29936/topicseen.html#msg29936

            yes it did! thx!
            i used the search-funticion but this didn’t showed up...

            edit: ok, now i’m getting another error:
            « MODx Parse Error »
            MODx encountered the following error while attempting to parse the requested resource:
            « PHP Parse Error »
             
            PHP error debug
              Error: 	imagejpeg(): Unable to access assets/galleries/38/tn_1img_0001_small.jpg	 
              Error type/ Nr.: 	Warning - 2	 
              File: 	/srv/www/htdocs/web83/html/basti/modx/assets/snippets/maxigallery/watermark/Thumbnail.class.php	 
              Line: 	331	 
              Line 331 source: 	imageJPEG($this->img["des"],"$save",$this->quality); 	 
             
            Parser timing
              MySQL: 	0.0235 s s	(7 Requests)
              PHP: 	0.4315 s s	 
              Total: 	0.4549 s s	 


            any ideas what this means?
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              When you created the folders, did you set their permission to world-writable (777)?
                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
                • 16508
                • 3 Posts
                Quote from: sottwell at Aug 03, 2006, 02:41 PM

                When you created the folders, did you set their permission to world-writable (777)?

                yes... both folder("galleries" and the folder with the number) are set to 777
                  • 28218
                  • 48 Posts
                  I am using "friendly alias path", and my gallery could’nt find the pictures.
                  I solved this by adjusting the gallery path in the snippet to "$path_to_galleries="[(base_url)]assets/galleries/";"
                  This works fine!!
                  Would be a good idea for a default setting??

                  Oeps, to fast....
                  Creating a new gallery gives the following error:
                  PHP error debug
                    Error: 	mkdir([(base_url)]assets/galleries/22/): No such file or directory	 
                    Error type/ Nr.: 	Warning - 2	 
                    File: 	/home/httpd/vhosts/sanneweverling.nl/httpdocs/manager/includes/document.parser.class.inc.php(705) : eval()'d code	 
                    Line: 	717
                  


                    • 7923
                    • 4,213 Posts
                    Quote from: spoetnik at Aug 17, 2006, 10:25 AM

                    I am using "friendly alias path", and my gallery could’nt find the pictures.
                    Look here for quick fix, I have fixed this to the trunk version allready.


                      "He can have a lollipop any time he wants to. That's what it means to be a programmer."
                      • 28218
                      • 48 Posts
                      mm, close but no sigar.

                      Using the above fix, shows the pictures verry nice, but i Dont see a "next" or "previous" button. Looks like the slidebox does’nt know where to find these picture-buttons i guess??

                      This discussion is closed to further replies. Keep calm and carry on.