We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6841
    • 61 Posts
    Quote from: ddecjc at Apr 12, 2006, 02:59 PM

    I think I’ve finally settled on "slidebox" as the gallery type I want to use. Everything works fine in Firefox, but, in IE, the pictures pop up in the box, but there is no dark overlay behind it. How can I get that to work?
    Any ideas? I thought it might be because I had stripped out some necessary JavaScript when I created my template, but I tried it with the "Minimal Template" and had the same problem.
      Dave
      • 7923
      • 4,213 Posts
      Quote from: ddecjc at Apr 12, 2006, 02:22 PM

      I discovered what was causing my problem with not having the "next" and "back" navigation in slidebox. For some reason, if any of the filenames for the images have spaces and/or ampersands ("&") in them, this causes trouble with the navigation. Not sure why, but I know it does. I changed my filenames to get rid of the offending characters, re-uploaded images, and now it works!
      Thanks for the detective work, haven’t tested it with spaces in filenames myself! I’ll put this issue to the todo list.

      Quote from: ddecjc at Apr 13, 2006, 04:52 AM

      Quote from: ddecjc at Apr 12, 2006, 02:59 PM

      I think I’ve finally settled on "slidebox" as the gallery type I want to use. Everything works fine in Firefox, but, in IE, the pictures pop up in the box, but there is no dark overlay behind it. How can I get that to work?
      Any ideas? I thought it might be because I had stripped out some necessary JavaScript when I created my template, but I tried it with the "Minimal Template" and had the same problem.
      Hi, could you give a link to the site? It’s a css issue. You should see atleast this at the source of the page:
      <!--[if gte IE 5.5]>
      <![if lt IE 7]>
      <style type="text/css">
      * html #overlay{
      background-color: #333;
      back\ground-color: transparent;
      background-image: url(assets/snippets/maxigallery/slidebox/blank.gif);
      filter: progid:DXImageTransform.Microsoft.AlphaImageLoader (src="assets/snippets/maxigallery/slidebox/overlay.png", sizingMethod="scale");
      </style>
      <![endif]>
      <![endif]-->
      

      And the path to the ovelay image should be correct.. you may also have to have margin and padding set to zero in the body{} of your css..


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 6841
        • 61 Posts
        Quote from: doze at Apr 13, 2006, 05:12 AM

        Hi, could you give a link to the site?
        Site URL sent via PM. Thanks for checking it out. This is an awesome snippet, and I’m looking forward to getting it fully functional on my site!
          Dave
          • 7923
          • 4,213 Posts
          This was also caused by the friendly alias paths being enabled. I have fixed it to the next version, ddecjc tested it and confirmed that it’s working now. If someone else have friendly alias paths enabled and need the fix asap, you can PM me. I’ll release a new version soon with some of the things completed from the todo list. I haven’t looked into the templating yet, sorry.

          Thanks again ddecjc for the good test enviroment! wink


            "He can have a lollipop any time he wants to. That's what it means to be a programmer."
            • 18219
            • 826 Posts
            Hi,
            Quote from: doze at Apr 11, 2006, 06:34 AM

            Quote from: Marc at Apr 11, 2006, 06:26 AM

            Hi,

            In my post, I thought of the technique of neutralization by the clic right even if this technique is quite relative. It is already about a limitation. The other techniques fall within the competence of the webmaster.
            I’ll put that in for the next version as an option, altough it doesn’t protect much as Mike said.. people can still get a copy of your pictures if they want quite easily.

            If you want to protect your pictures for sure, the best way would be to make a very transparent watermark image and set it to the center of your images. So you’d need to add &pic_use_watermark=`1` &pic_watermark_valign=`center` &pic_watermark_halign=`center` &pic_watermark_img=`path/to/your/watermark.png` to your snippetcall to achieve this.


            I tested the solution: it generates an image increased and not protected by the copy. That does not have much importance, it was only one suggestion.

            I have one question: Why in the presentation of the gallery in ’ dropshadow and imagemasking ’, once the image increased, one does not find the links ’ Next’ and ’ Previous’ as in embedded gallery?

            Another point: In the description of an image, the Utf-8 encoding is not recognized. An accentuated character as the ’ é’ (in French) is translated into ’é’

            Last point: Can one modify the presentation of the gallery by using a chunk for example? What do you think about it?

            Thanks for yours answers
              Marc
              I&#39;m French... Sorry for my bad English, I use &#39; Google Translator&#39; or other... but that remains that tools wink
              • 15159
              • 93 Posts
              undecided I almost hate to say it Doze, but how hard do you think it would be to incorporate table contained comments for individual pics?
                • 19461
                • 16 Posts
                Quote from: Marc at Apr 13, 2006, 02:17 PM


                Another point: In the description of an image, the Utf-8 encoding is not recognized. An accentuated character as the ’ é’ (in French) is translated into ’é’


                This is caused by the use of an htmlentities call without a specified character set, so it defaults to ISO-8859-1. Whether a fix is possible depends on the version of PHP being used.
                  • 6841
                  • 61 Posts
                  I’m sure you already have a million feature requests, but here’s another that would be really great:

                  A parameter that allows me to specify one or more web user names or group names that have permission to manage a gallery. This would allow gallery management without having to be logged into the back end and would make it possible to set up "user galleries" like some of the dedicated gallery scripts have. I don’t know if I explained that very well. I hope it makes sense. I tried briefly to look at doing this myself today, but I didn’t have a lot of time, and I’m not yet very familiar with MODx user authentication.

                  Another thing that would be great is if "childgalleries" were able to go more than one level deep to look for galleries. It appears that it only goes down one level right now.
                    Dave
                    • 18219
                    • 826 Posts
                    @doze :
                    I have modify a file lang_fr.zip
                      Marc
                      I&#39;m French... Sorry for my bad English, I use &#39; Google Translator&#39; or other... but that remains that tools wink
                      • 7923
                      • 4,213 Posts
                      Quote from: Marc at Apr 13, 2006, 02:17 PM
                      I tested the solution: it generates an image increased and not protected by the copy.
                      Sorry, but I don’t understand what you are saying.. undecided Could you post your snippet call and a site where I could see the results, if you are having problems?

                      Quote from: Marc at Apr 13, 2006, 02:17 PM

                      I have one question: Why in the presentation of the gallery in ’ dropshadow and imagemasking ’, once the image increased, one does not find the links ’ Next’ and ’ Previous’ as in embedded gallery?
                      That option is to show an original/bigger version of some picture in a gallery and it’s not supposed to have the next/prev links. It could be built to have them, but I didn’t think that it would be needed. What you guys think about it, is it needed?

                      Quote from: Marc at Apr 13, 2006, 02:17 PM

                      Another point: In the description of an image, the Utf-8 encoding is not recognized. An accentuated character as the ’ é’ (in French) is translated into ’é’
                      It must be what mike is saying, charset support has been added to php htmlentities function at PHP 4.1.0. I could do an option that the charset from modx will be used if enabled.. and possibility to define the charset in the snippet call also. I’ll look into this.

                      Quote from: Marc at Apr 13, 2006, 02:17 PM

                      Last point: Can one modify the presentation of the gallery by using a chunk for example? What do you think about it?
                      Not yet, but it’s planned.

                      Quote from: ddecjc at Apr 13, 2006, 04:35 PM
                      A parameter that allows me to specify one or more web user names or group names that have permission to manage a gallery.
                      Yes, I will need this myself also in some point, so definitely gonna do it.

                      Quote from: ddecjc at Apr 13, 2006, 04:35 PM
                      Another thing that would be great is if "childgalleries" were able to go more than one level deep to look for galleries. It appears that it only goes down one level right now.
                      Haven’t done anything to the childgalleries display option yet (other than made it use makeUrl api), because I haven’t needed it laugh ..but I’ll look into this at some point.

                      Quote from: jwtyler at Apr 13, 2006, 04:18 PM

                      I almost hate to say it Doze, but how hard do you think it would be to incorporate table contained comments for individual pics?
                      Not that hard, I’ll put it to the todo list, but not gonna happen very soon (unless someone else is willing to help), as you can see, there’s lots of other things to do also laugh

                      I’ll post a new version of the gallery soon, which pretty much just has several bugfixes and tweaks. No new options, sorry grin (other than possibility to disable rightclicking. for the people who are thinking to use it, read this in the meantime wink)


                        "He can have a lollipop any time he wants to. That's what it means to be a programmer."

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