We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4266
    • 70 Posts
    Quote from: Commodore64 at Sep 21, 2005, 11:42 AM

    I’m afraid you cannot obtain a better image quality with FotoReporter
    Thank you for usefull advice  smiley
    I suppose FotoReporter uses GD for resizing, and GD in turn has quality settings. Usually I’m setting up 90 quality in web-galleries. It seems FotoReporter has about 70. So, I’m sure it can be changed, but HOW?
      • 4266
      • 70 Posts
      Quote from: Commodore64 at Sep 21, 2005, 11:42 AM

      If you want, you can use the FotoReporter snippet simply as a wrapper for SimpleViewer. You could even generate your album with FotoReporter and then replace only your picture files.

      It would be nice to set up your FotoReporter snippet to work with SimpleViewer Admin http://www.redsplash.de/projects/simplevieweradmin/ as alternative way to create albums.

      I’ve tried to install SimpleViewer Admin in /assets/images/album directory in order to create albums for the FotoReporter snippet. But there is a problem with pathways in imageData.xml, because SimpleViewer Admin writes ./album_name/thumbs/ and FotoReporter writes /assets/images/album/album_name/thumbs/. What code lines should be changed in FotoReporter snippet to make it work correct with imageData.xml generated by SimpleViewer Admin?
        • 18397
        • 3,250 Posts
        Use my snippet GrabPage (a modded version specific to SimpleViewerAdmin included below) as it was origionally written for this purpose. Just edit the index.php to do the following, all paths are complete urls, open all links in a new window and remove the html and head tags so that only the body is left. (If you need help with this let me know).

        Then just use this snippet to pull index.php into your site.


        $htmlvalue = file_get_contents("http://www.yoursite.com/pathtogallery/index.php");
        $htmlvalue = (str_replace("background-image: url(", "background-image: url(http://www.yoursite.com/pathtogallery/", $htmlvalue));
        $htmlvalue = (str_replace("?album=", "http://www.yoursite.com/pathtogallery/?album=", $htmlvalue));
        
        
        return ($htmlvalue);


        Make sure to change http://www.yoursite.com/pathtogallery/ to the correct url!

        Best of luck!

          • 30088
          • 47 Posts
          I’m having trouble logging in using the FotoReporter software.

          In username, I enter the username of my MODx manager on my server
          In password, I enter the password for that username
          For the URL, I enter the top-level domain name (not the /manager/ folder)

          And it tells me "Error Code: 405 Method Not Allowed". How do I fix that?

          If I put the top level domain with /manager/ I end up with this error: "It was not possible for FotoReporter to exchange data with FotoReporter server. Please check your site address.

          If the problem persists, please contact your site administrator, and ask him to check that the [!FotoReporter!] Snippet call is correctly placed at the beginning of the template."

          I have set up FotoReporter on the server the way the installation instructions explain to do so, and entered the snippet call correctly in the template.

          Please let me know what I’m doing wrong. I really hope it’s not a server issue...
            • 5683
            • 96 Posts
            The account is your MODx (manager) account.
            Concerning the URL, it should be your top-level URL (without any leading/trailing spaces!, and with the protocol http://). Please try both of these:

            http://www.yoursite.com

            and

            http://www.yoursite.com/

            Best regards,
            Luca
              • 30088
              • 47 Posts
              Okay, thank you. I tried both and I am still getting the "Error: 405 Method Not Allowed" message. I’m not sure why. Do I need to CHMOD certain folders or something? I don’t have to modify any of the code within the Snippet when I create it, right?
                • 5683
                • 96 Posts
                Actually I have no idea undecided

                The 405 message means that Fotoreporter is using an HTTP method which is not allowed; Fotoreporter uses the POST method, but it is a bit strange that your web server does not allow it... by the way, which server do you use?

                For what concerns permissions: yes, the album directory should have all permissions granted.

                In the snippet you should change only the code between //Begin configuration and //End configuration.

                Regards,
                Luca
                  • 30088
                  • 47 Posts
                  I am using ehosting.ca - it’s a client’s request to use them, so unfortunately I can’t do anything about it. I’ve had loads of problems with this server, that I’ve never had with any other. It’s really weird. Anyway, I’ll ask if they will turn on the POST method for me - it’s pretty much vital because my client needs to be able to manage a photo album on her own, and as far as I know this will be the easiest way - minus the damn battle with the hosting company!

                  Thanks so much for your help.
                  • Charge by the hour for troubleshooting. Then cheap hosting isn’t so cheap in that instance. tongue
                      Ryan Thrash, MODX Co-Founder
                      Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                      • 30088
                      • 47 Posts
                      Heh, unfortunately, that wasn’t the deal I made with the client. And also, the host isn’t that cheap at all - I really don’t know how they get away with charging what they do. I have an inkling the client and hoster are affiliated though; perhaps family members or something, because there wasn’t even an acknowledgement to my suggestion for them to switch to a much better company. Ahh, sorry, off topic.

                      I submitted a tech support question to them and will see if they can turn POST on for me.