We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18219
    • 826 Posts
    Thanks Susan, It’s a great idea.

    But it is not that only I seek. This solution requires to create as much page than I have of product.
    However, my customer has already his catalogue under format pdf.
    I wish only, starting from a pic, can to download file pdf. Thus to use MaxiGallery and add, under the pic, a link towards an external file to format pdf.
      Marc
      I'm French... Sorry for my bad English, I use ' Google Translator' or other... but that remains that tools wink
      • 8382
      • 253 Posts
      Hi, doze.

      I must apologize to you.

      In my former report, this snippet faulted with Japanese in Mac OSX.
      That is my mistake of environmental setting.
      So, your codes have no bug with character encodings.
      I am sorry with thanks.
        • 7923
        • 4,213 Posts
        Quote from: eastbind at Apr 22, 2006, 04:50 AM

        In my former report, this snippet faulted with Japanese in Mac OSX.
        That is my mistake of environmental setting.
        So, your codes have no bug with character encodings.
        No apologies needed! grin
        It’s great to hear that the character encodings are working ok with OS X too! Thanks for your tests!


          "He can have a lollipop any time he wants to. That's what it means to be a programmer."
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          I’ve had an intermittent odd problem with the Slidebox options. Every now and then it will start to display the image, then the image and its frame disappears, while the page is still greyed out. The only way to clear it is to use the back button on the browser. I can’t seem to reproduce this by any specific actions, nor can I figure out anything that might be causing it.

          http://193.16.154.44/~sottwell/index.php?id=12
            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
            • 2762
            • 1,198 Posts
            Susan, i’ve tested your pages and with a lot of ’clicks’ works fine with IE and Opera.
            But I’ve the same issue in some my project - don’t know why - try to clean cache(??)
              Free MODx Graphic resources and Templates www.tattoocms.it
              -----------------------------------------------------

              MODx IT  www.modx.it
              -----------------------------------------------------

              bubuna.com - Web & Multimedia Design
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              The page was never cached; I always make my pages uncached until I’ve finished with developement. I suspect either an issue with the browser (FF 1.5.0.2/Mac, which does have the occasional Javascript problem) or even with the touchpad on this old PowerBook; I haven’t been able to reproduce the problem at all when using an external USB mouse.
                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
                • 32319
                • 129 Posts
                Ok, so I just read the whole forum and I did not see this question asked yet so here goes.

                I installed MaxiGallery and inserted this code into the page:

                [[MaxiGallery? &display=`embedded` &embedtype=`lightboxv2` &pics_in_a_row=`3` &max_thumb_size=`110` &max_pic_size=`0` &thumb_use_dropshadow=`1`]]
                


                I then clicked the manage pictures button and attempted to upload an image. Then I got the following error:

                « MODx Parse Error »
                MODx encountered the following error while attempting to parse the requested resource:
                « PHP Parse Error »
                 
                PHP error debug
                  Error: 	move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid is 578 is not allowed to access /home/virtual/site75/fst/var/www/html/chrissygoral.falkicon.com/assets/galleries/40 owned by uid 48	 
                  Error type/ Nr.: 	Warning - 2	 
                  File: 	/home/virtual/site75/fst/var/www/html/chrissygoral.falkicon.com/manager/includes/document.parser.class.inc.php(703) : eval()'d code	 
                  Line: 	1921	 
                 
                Parser timing
                  MySQL: 	0.0044 s s	(6 Requests)
                  PHP: 	0.0772 s s	 
                  Total: 	0.0816 s s
                


                Looks like something to do with "SAFE MODE Restriction" but I don’t really know how to change this. Any advice would be helpful. Thanks.
                  "Regret for the things we did can be tempered by time; it is regret for the things we did not do that is inconsolable."
                  -- Sydney Harris
                  • 19461
                  • 16 Posts
                  @whitefen:
                  try deleting the gallery directory (in your case directory ’40’) and then recreating it with your ftp client. With a bit of luck, thsi will solve the problem. In addition, you’ll need to manually create any directories you need for other gallery pages in future.

                  If anyone has any better ideas, I’d like to know too; this is the best I’ve been able to come up with.
                    • 7923
                    • 4,213 Posts
                    Quote from: sottwell at Apr 22, 2006, 03:27 PM

                    I’ve had an intermittent odd problem with the Slidebox options. Every now and then it will start to display the image, then the image and its frame disappears, while the page is still greyed out. The only way to clear it is to use the back button on the browser. I can’t seem to reproduce this by any specific actions, nor can I figure out anything that might be causing it.

                    http://193.16.154.44/~sottwell/index.php?id=12
                    I have had this problem sometimes my self too. Don’t know what is causing it. I think that it may happen if user clicks the thumbnails before the js-scripts have loaded. If it happens, you can still close the lightbox by pressing the accelerator key "q" and open the image again. There are a never versions out from the original slidebox that may fix this problem. But I have done some modifications to the slidebox I use, so haven’t had time to update it to the newer version. I fixed some bugs in it and added the title field and made it better configurable. The fixes are now in the newest version of original slidebox too, so I’d just need to add the code for getting picture title and make the texts configurable, so I’ll probably update to the new version soon.

                    In the newest version of slidebox, the images are hidden until the script has fully loaded, so that may fix some problems. There are also some other fixes done. If you want to try it your self, you can download the newest version from here and do the necessary changes to it by looking at the script MaxiGallery currently uses.

                    Quote from: Whitefen at Apr 23, 2006, 02:49 AM

                    I then clicked the manage pictures button and attempted to upload an image. Then I got the following error:

                    move_uploaded_file(): SAFE MODE Restriction in effect.
                    The script whose uid is 578 is not allowed to access /assets/galleries/40 owned by uid 48
                    


                    Looks like something to do with "SAFE MODE Restriction" but I don’t really know how to change this.
                    Hi,

                    I have seen this issue come up with the etogal too. You’re right, it happens because safe_mode is on for php scripts. I don’t know if there is some other thing that would help, but one solution is to make the folders using ftp commands. FTP commands can be used through php too, if they are available at your host. So maybe with modifying the snippet to use ftp command for creating the directories would help you with this problem, or maybe not.

                    You can get around it though by doing the folders manually using FTP client, like this:


                    • 1. Call the MaxiGallery snippet using the call you posted above on some document where you want the gallery be.
                      [list]
                      [li]For example this document has ID 23
                    [/li]
                    [li]2. Open some FTP client and connect to your server[/li]
                    [li]3. Create a new folder: /assets/galleries/23 (ID of the document)[/li]
                    [li]4. CHMOD 777 the folder using the FTP client[/li]
                    [li]5. Use the MaxiGallery normally from this point on.. (e.g. upload pics through it next)
                    [/list]


                      "He can have a lollipop any time he wants to. That's what it means to be a programmer."
                      • 19461
                      • 16 Posts
                      The trouble with using FTP commands to create the directories from within PHP is that you have to provide the ftp user id and password somehow.

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