We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25663 MODX Staff
    • 12,272 Posts
    For a future release of MODx, we’re going to include what we’re calling an "index-ajax" file. This file solely serves the purpose of supplying configuration information and being able to perform database operations without manual configuration on the built in database.
      Ryan Thrash, MODX Co-Founder
      Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
      • 32319
      • 129 Posts
      Quote from: mikef at Apr 23, 2006, 06:05 AM

      @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.

      Thanks MikeF, it worked to delete the folder and manually add it. It seems strange though that the folder that was there appeared to be exactly the same with nothing in it and permissions set to (777). Anyway, For my uses this is not that big of a deal so thanks for the tip.
        "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
        • 32319
        • 129 Posts
        New little problem...

        I am using MaxiGallery to display an artists artwork and one of the lines of the description is "Dimensions: 32” X 72”". If I just type in ["]s then in the HTML code that displays when I go into lightbox2 the line looks like this "Dimensions: 32" X 72"">" with an added ">" symbol on the end which messes with the full display of the line. So I figured I would use a "”" which worked fine till I went back in to edit I just see the smart right quotes but then when I save I get "”". This seems to display correctly, at least in FireFox but seems like rather odd behavior. Is there a better way to insert double quotes? I know that for the single quote the "`" tick is used.

        Also, I have a feature request, I often have a need for having more control over my thumbnails cropping. For example, in some cases I require the thumb to be a cropped area of the main image so that they are all squares. It would be very handy for me to be able to override the default thumbnail by uploading a presized replacement. I played with just going into the gallery directory via FTP and manualy changing the thumbs which worked fine but this would be fairly complex for my client.

        Thanks,

        Jason
          "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
          • 25663 MODX Staff
          • 12,272 Posts
          try using the html entity until there’s a better option: "
            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
            • 7923
            • 4,213 Posts
            Quote from: Whitefen at Apr 23, 2006, 02:51 PM

            If I just type in ["]s then in the HTML code that displays when I go into lightbox2 the line looks like this "Dimensions: 32" X 72"">" with an added ">" symbol on the end which messes with the full display of the line.
            Try do a search and replace to the snippet code, replace "ENT_NOQUOTES" with "ENT_QUOTES". Then use just " in the title/description fields.. I don’t remember why I decided to not have them converted in the htmlentities calls.. rolleyes

            Quote from: Whitefen at Apr 23, 2006, 02:51 PM

            Also, I have a feature request, I often have a need for having more control over my thumbnails cropping. For example, in some cases I require the thumb to be a cropped area of the main image so that they are all squares.
            Yes, I have thought about an option to have all of the thumbnails resized and cropped to be squares no matter what the original shape or size is.. I’ll add this to the todo list.

            Quote from: Whitefen at Apr 23, 2006, 02:51 PM

            It would be very handy for me to be able to override the default thumbnail by uploading a presized replacement.
            I have thought about adding buttons to the picture management to each picture where you can replace any of the kept images/thumbnails/originalpic at any time and add dropshadow/imagemask/resize per picture..


              "He can have a lollipop any time he wants to. That's what it means to be a programmer."
              • 32319
              • 129 Posts
              Quote from: rthrash at Apr 23, 2006, 02:54 PM

              try using the html entity until there’s a better option: "

              If I use """ I get """ in the output.
                "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
                • 32319
                • 129 Posts
                Quote from: doze at Apr 23, 2006, 03:39 PM

                I have thought about adding buttons to the picture management to each picture where you can replace any of the kept images/thumbnails/originalpic at any time and add dropshadow/imagemask/resize per picture..

                Yes, this would be very nice...

                Ok, pie in the sky for the auto thumbs would be the ability to select the thumb crop zone. So if you select a square zone you get a square thumb cropped to the area selected. The problem with auto cropping square is the decision making on what part gets cropped and at what zoom.

                In the meantime, being able to replace the kept images would be super great and more than enough.
                  "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
                  • 32319
                  • 129 Posts
                  Quote from: doze at Apr 23, 2006, 03:39 PM

                  Try do a search and replace to the snippet code, replace "ENT_NOQUOTES" with "ENT_QUOTES". Then use just " in the title/description fields.. I don’t remember why I decided to not have them converted in the htmlentities calls.. rolleyes

                  This worked great, thanks smiley
                    "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
                    • 7923
                    • 4,213 Posts
                    Quote from: Whitefen at Apr 23, 2006, 03:46 PM

                    Ok, pie in the sky for the auto thumbs would be the ability to select the thumb crop zone. So if you select a square zone you get a square thumb cropped to the area selected. The problem with auto cropping square is the decision making on what part gets cropped and at what zoom.
                    Yes, I understand your point of view, but I won’t probably make it possible to select the cropzone manually. I thought of doing it by first resizing the image until the set thumb size is reached either vertically or horizontally and then just crop it to be a square.

                    But if I really get into it when I’m doing it, I might use this, but not promising anything.. smiley


                      "He can have a lollipop any time he wants to. That's what it means to be a programmer."
                      • 32319
                      • 129 Posts
                      Quote from: doze at Apr 23, 2006, 03:59 PM

                      Yes, I understand your point of view, but I won’t probably make it possible to select the cropzone manually. I thought of doing it by first resizing the image until the set thumb size is reached either vertically or horizontally and then just crop it to be a square.

                      But if I really get into it when I’m doing it, I might use this, but not promising anything.. smiley

                      Yeah, thats why I said "pie in the sky", maybe version 50 or something...

                      Just doing the crops in photoshop and then being able to replace the default thumb would be more than enough.

                      Great work on this!

                      Also, is it possible to show description text with the title and on the main gallery view? I looked through the settings and did not see anything for this.
                        "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

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