We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2603
    • 104 Posts
    Hi guys!
    I have installed this slideshow and everything is good.
    But the watermark parameter doesnt work. I dont know why.
    Here is the code:
    [!MaxiGallery? &display=`embedded` &big_use_watermark=`1` &big_watermark_valign=`center` &big_watermark_img=`/assets/galleries/news.png` &embedtype=`smoothgallery` &smoothgallery_timed=`true` &smoothgallery_embedLinks=`false` &smoothgallery_showArrows=`false` &smoothgallery_delay=`9000`!]


    Thank you for help.

    Alex
      Getting higher! | www.djabuzz.com
      • 7923
      • 4,213 Posts
      You have set the watermark to the "big" images. Smoothgallery shows the normal sized images by default. Also, you have to define that image watermark is used.. MaxiGallery uses text watermarks by default.

      So use &pic_use_watermark=`1` &pic_watermark_valign=`center` &pic_watermark_img=`assets/galleries/news.png` &pic_watermark_type=`image`

      Also, you need to re-upload images as the watermarking is done on upload.


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 2603
        • 104 Posts
        Thank you, doze!

        It helped. Now the watermarks are working fine.
        But I have another problem now - mask parameter doesnt work. When I insert it, there is text instead of slideshow )))

        Here is the code:
        <p>[!MaxiGallery? &display=`embedded` &smoothgallery_width=`748` &smoothgallery_height=`228` &max_pic_size=`748` &pic_use_watermark=`1` &pic_watermark_valign=`bottom` &pic_watermark_img=`assets/galleries/news.png` &pic_watermark_type=`image` &pic_use_imagemask=`1` &pic_mask_img=`assets/snippets
        /maxigallery/imagemask/mask.png` &pic_mask_bgcolor=`FFFFFF` &embedtype=`smoothgallery` &smoothgallery_timed=`true` &smoothgallery_embedLinks=`false` &smoothgallery_showArrows=`false` &smoothgallery_showCarousel=`false` &smoothgallery_showInfopane=`false` &smoothgallery_delay=`9000`!]</p>

        Dont know, where I’ve made a mistake.
        Thank you!
          Getting higher! | www.djabuzz.com
          • 7923
          • 4,213 Posts
          Quote from: a_lex at Jan 26, 2009, 06:06 PM

          When I insert it, there is text instead of slideshow )))
          Where? What text? Any javascript errors?

          Make sure the snippet call is on one line.. the one you posted above is not.


            "He can have a lollipop any time he wants to. That's what it means to be a programmer."
            • 2603
            • 104 Posts
            Quote from: doze at Jan 27, 2009, 01:02 AM

            Make sure the snippet call is on one line.. the one you posted above is not.

            Doze, you are completely right! smiley Now it works. I didnt notice this little mistake.....Sorry for stupid question and thank you for answer!
            Do you know is there a possibility to make transparent mask, not coloured?
              Getting higher! | www.djabuzz.com
              • 2603
              • 104 Posts
              Strange. After i have moved the slideshow in another part of the page (in template), the `Manage pictures` button become unactive. What can it be?

                <table border="0" cellpadding="0" cellspacing="0" width="1000px">
                                      <tr height="228px">
                                          <td width="252px">
                                              <script type="text/javascript">
              AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0','width','252','height','228','id','radio','align','middle','src','radio','quality','high','bgcolor','#000000','name','radio','allowscriptaccess','sameDomain','allowfullscreen','false','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','radio' ); //end AC code
              </script><noscript><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="252" height="228" id="radio" align="middle">
                                                  <param name="allowScriptAccess" value="sameDomain" />
                                                  <param name="allowFullScreen" value="false" />
                                                  <param name="movie" value="radio.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" />	<embed src="radio.swf" quality="high" bgcolor="#000000" width="252" height="228" name="radio" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
                                              </object></noscript>
                                          </td>
              
              <td width="748px">
              
              [*content*] 
                      
              
              
                                          </td>
                                      </tr>
                                  </table>
                                  <!--end radio & flashbanner table-->
                          	</td>        
                          </tr>
                      </table>
                      <!--end header table-->


              huh huh huh


              Also, when I try to upload or modify the slideshow after moving, there is such error:
              « MODx Parse Error »MODx encountered the following error while attempting to parse the requested resource:
              « PHP Parse Error »

              PHP error debug
                Error: chmod() [function.chmod]: No such file or directory
                Error type/ Nr.: Warning - 2
                File: /home/alexpron/public_html/AH/assets/snippets/maxigallery/maxigallery.php
                Line: 372
                Line 372 source: chmod($mg->path_to_gal.$name,0666);

              Parser timing
                MySQL: 0.0111 s (4 Requests)
                PHP: 5.4242 s
                Total: 5.4353 s


              What is this mean?
                Getting higher! | www.djabuzz.com
                • 3749
                • 24,544 Posts
                My html editor says:

                1. Take out the px in the height and width specs, it’s used in CSS files but, I think, not in raw HTML.

                2. allowScriptAccess and allowFullScreen are not valid for the embed element.

                3. There’s something in your table that’s closing all the tags so the </td></tr> and </table> are extraneous.

                4. I’m pretty sure you can’t put <script> . . . </script> inside a tag as you’ve done (may be causing #3).
                  Did I help you? Buy me a beer
                  Get my Book: MODX:The Official Guide
                  MODX info for everyone: http://bobsguides.com/modx.html
                  My MODX Extras
                  Bob's Guides is now hosted at A2 MODX Hosting
                  • 7923
                  • 4,213 Posts
                  Try using the v0.6 test version from the sticky topic..


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