We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 30088
    • 47 Posts
    Okay! Great! Finally, success! I don’t know what they did, but it finally logs in.

    Okay, now I’m curious about a few things. In the meantime, before I got FotoReporter working, I just installed the Simpleviewer manually so I could get my client’s site launched.

    This is the resulting photo gallery:
    http://chaliu.com/index.php?id=14

    Which is great, but I had to do it all manually. I would still like my client to be able to replace those photos with their renovated ones once they are ready, using FotoReporter.

    I changed the following values in the SimpleViewer configuration files in order to achieve the look:
    in Gallery.xml:
    <simpleviewerGallery maxImageWidth="480" maxImageHeight="480" textColor="0xF8E4AF" frameColor="0xF8E4AF" frameWidth="1" stagePadding="0" thumbnailColumns="5" thumbnailRows="2" navPosition="bottom" title="" enableRightClickOpen="true" backgroundImagePath="http://chaliu.com/images/bgFlash.jpg" imagePath="http://www.chaliu.com/gallery/images/" thumbPath="http://www.chaliu.com/gallery/thumbs/">


    and from index.html:
    <script type="text/javascript">
    var fo = new SWFObject("http://www.chaliu.com/gallery/viewer.swf", "viewer", "450", "525", "3", "");	
    fo.addVariable("preloaderColor", "#9d0712");
    fo.addVariable("xmlDataPath", "http://www.chaliu.com/gallery/gallery.xml");	
    fo.write("flashcontent");	
    </script>


    As you can see, a fair amount of changes. I entered "bottom" into the navPosition value in the FotoReporter snippet, but it didn’t move to the bottom. I also entered 100% as the max height and width, but that didn’t work either. Also, I entered a value of 1 for the border and changed the text colour for the plugin in the snippet, but for some reason none of it seems to work.

    http://chaliu.com/index.php?id=16 This is the "test" album I made with the FotoReporter program/snippet... as you can see, the only thing I could do was get the transparency mode working. Any help on where to put which values so this one matches the above "Tour" page is much appreciated!
      • 5683
      • 96 Posts
      Quote from: tinuviel at May 16, 2007, 02:29 AM

      Okay! Great! Finally, success! I don’t know what they did, but it finally logs in.

      Congratulations laugh

      In order to change the settings you have to do the following:


      • change the settings in the snippet
      • open the client, and re-configure it (it suffices to click "settings" an then "Ok")
      • re-upload the albums

      This is necessary because settings are partly stored in the xml files that are generated when you upload albums.

      I have seen that you are using SimpleViewer 1.8. The current version of FotoReporter is designed for SimpleViewer 1.7.x. Thus you could try that version.

      Regards,
      Luca
        • 30088
        • 47 Posts
        Where can I get SimpleViewer 1.7.x?
          • 5683
          • 96 Posts
          Quote from: tinuviel at Nov 21, 2008, 04:40 PM

          Where can I get SimpleViewer 1.7.x?
          It used to be downloadable at airtightinteractive, but apparently that old version is no longer available.

          For my own web site I chose to reimplement the FotoReporter snippet so that it uses the open source javascript image viewer Lytebox (and get rid of Flash grin). The client that uploads pictures does not need to be upgraded.

          I’m attaching the new version of the snippet (lytebox is embedded). It’s only a quickly patched version of the old FotoReporter, so it’s all but polished, but it works for us. Feel free to download and improve it!

          Best regards,
          Luca
            • 30088
            • 47 Posts
            Okay... the only thing I changed on the website is the FotoReporter snippet, and now I’m getting this:

            « MODx Parse Error »
            MODx encountered the following error while attempting to parse the requested resource:
            « PHP Parse Error »

            PHP error debug
            Error: require_once() [function.require-once]: URL file-access is disabled in the server configuration
            Error type/ Nr.: Warning - 2
            File: /home/vastinte/public_html/manager/includes/document.parser.class.inc.php(769) : eval()’d code
            Line: 34

            Parser timing
            MySQL: 0.0005 s (0 Requests)
            PHP: 0.0410 s
            Total: 0.0415 s
              • 30088
              • 47 Posts
              Actually, never mind. I really don’t like the Lytebox interface, so I’ll be sticking with SimpleViewer. I just wish there was a way to customize it better... I can’t even get the border to go away...
                • 30088
                • 47 Posts
                Also, for some reason, the .exe file apparently makes it so I can’t edit the image folders once they’re created by FotoReport. It takes away my permission for some reason. Is that server-specific, or does that happen with anyone else that’s used this?
                  • 5683
                  • 96 Posts
                  That’s right... I told you it was a quick fix rolleyes

                  If you’re using PHP 4 you can solve the problem simply by deleting lines 32 and 33 of the snippet.

                  Otherwise (if you use PHP 5 or plan to eventually upgrade to it) edit line 33: it contains an absolute path, that should be change to match your server’s directory organization.

                  ...

                  If you want to stick with SimpleViewer, keep in mind that there are still some sites that are using SimpleViewer 1.7.2 (and thus have to make the swf player available wink).
                  By the way, we are using it on this page:
                  http://www.roma21.it/index.php?id=460

                  Cheers,
                  Luca
                    • 5683
                    • 96 Posts
                    Quote from: tinuviel at Nov 27, 2008, 01:50 PM

                    Also, for some reason, the .exe file apparently makes it so I can’t edit the image folders once they’re created by FotoReport. It takes away my permission for some reason. Is that server-specific, or does that happen with anyone else that’s used this?
                    The folders are created under by the webserver user account, so you can certainly touch them using that account, from within a php script. For istance, you can use the MODx file manager.