We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23849
    • 223 Posts
    Here is all I would like to do:

    I simply want to turn off the lightbox effects and resize the images, without having to add anything to the image tags other than the width= and height= attributes.

    It seems like it should be easy, but everytime I change the lightboxmode to anything other than 2, it no longer re-sizes the image (the file size remains large.)

    If ANYONE has a configuration that is setup to resize images according to the width= attribute, but without the lightbox effect turned on, please let me know what your configuration looks like! Thanks!

    -Nick

    P.S. - Anyone else have conflict problems when other mootools effects are employed on a site with this plugin installed? A site of mine utilizes the mootools slideshow and accordion, and those two effects no longer work when I have this plugin installed. Any ideas?
      Nick Hoag
      Creative Partner
      The FutureForward

      http://thefutureforward.com
      • 19164
      • 1,215 Posts
      May be it is too hard to understand what i wrote 2 times early...

      In your config file set

      $lightbox = 2;
      $allow_from = "all paths to your images there";

      In the site - use label:

      <img src="my_path/my_image.jpg" width="100" height="50" drthumbonly />

      That’s all.
        DirectResize 0.9 beta. PHPThumb, sets of configurations, configuration, binded to specific path. No backward compatibility. | DirectResize 0.9. PHPThumb, наборы параметров, параметры, привязанные к определенным путям. Без обратной совместимости.

        Unfortunately, DirectResize project is closed. If you want to continue development, PM me for access to project page on Google Code. К сожалению, проект DirectResize закрыт. Если вы желаете продолжить разработки, обращайтесь через ПМ для получения доступа к репозиторию на Google Code.

        [PLUGIN] DirectResize - as Maxigallery but for single images :: Download :: [url=http://modxcms.com/forums/index.php/topic,21490]
        • 23849
        • 223 Posts
        Hi Metaller,

        Sorry if you’re getting frustrated with me. I fully understand that method and it does work. I’m simply asking if there is a way to accomplish that same thing WITHOUT adding the "drthumbonly" line to the image tag. I’m working with clients who don’t know much about the web and I’m trying to make this process as easy as possible for them, so I’m just wondering if there is a way to do this WITHOUT the drthmubonly attribute.

        Let me know. Thanks Metaller!
          Nick Hoag
          Creative Partner
          The FutureForward

          http://thefutureforward.com
          • 19164
          • 1,215 Posts
          Then, you need to wait for next version. There are many new features. I hope that first beta will be released on the next week.
            DirectResize 0.9 beta. PHPThumb, sets of configurations, configuration, binded to specific path. No backward compatibility. | DirectResize 0.9. PHPThumb, наборы параметров, параметры, привязанные к определенным путям. Без обратной совместимости.

            Unfortunately, DirectResize project is closed. If you want to continue development, PM me for access to project page on Google Code. К сожалению, проект DirectResize закрыт. Если вы желаете продолжить разработки, обращайтесь через ПМ для получения доступа к репозиторию на Google Code.

            [PLUGIN] DirectResize - as Maxigallery but for single images :: Download :: [url=http://modxcms.com/forums/index.php/topic,21490]
            • 23849
            • 223 Posts
            Awesome! Thanks Metaller!!
              Nick Hoag
              Creative Partner
              The FutureForward

              http://thefutureforward.com
              • 13094
              • 58 Posts
              Hi Metaller,

              thank you for your awesome plugin.
              I recently updated to modx 0.9.6.3 AND switched onto another server -- since then DR won’t be started when saving pages or so.
              The path on both the servers are the same below the top level domain.
              I checked the rights on all folders (drgallery and so on), reinstalled the plugin at all, but the plugin did not do its job.

              BUT:

              Old images which are saved under "/assets/drgalleries/ID/thumb_IMAGENAME.jpg" or ".../big_IMAGENAME.jpg" where displayed correctly with the desired effect, like highslide.

              So I’ve only got the problem, that I can’t generate NEW thumbs (size related or label).

              Is there something different in 0.9.6.3 that I’ve to configure or is there a clue in the forum that might help (and that I didn’t locate by the search)?

              Thanks in advance,
              iRolf
                • 19164
                • 1,215 Posts
                Hi. Please wait for a some days until new version will be released. I don’t see a reason to fix old version, because it was totally rewritten.
                  DirectResize 0.9 beta. PHPThumb, sets of configurations, configuration, binded to specific path. No backward compatibility. | DirectResize 0.9. PHPThumb, наборы параметров, параметры, привязанные к определенным путям. Без обратной совместимости.

                  Unfortunately, DirectResize project is closed. If you want to continue development, PM me for access to project page on Google Code. К сожалению, проект DirectResize закрыт. Если вы желаете продолжить разработки, обращайтесь через ПМ для получения доступа к репозиторию на Google Code.

                  [PLUGIN] DirectResize - as Maxigallery but for single images :: Download :: [url=http://modxcms.com/forums/index.php/topic,21490]
                  • 13094
                  • 58 Posts
                  Thank you -- I’ll looking forward it.
                    • 29525
                    • 388 Posts
                    I’ve used this plugin several times. Works great!

                    Except for this one situation where the captions don’t appear on the large image.

                    The client has three product pages that are summarized with ditto on the main product page. The individual product pages contain an image where the title & alt tag work correctly and you can see the text when you mouse over the image. So far so good. . .

                    However, on the ditto summary, the direct resize does not display the caption.

                    The highslide.config.php does include the title placeholder.
                    <a href="[+dr.bigPath+]" class="highslide" onclick="return hs.expand(this, {captionId: 'caption[+dr.id+]'})">
                    	<img src="[+dr.thumbPath+]" class="[+dr.class+]" width="[+dr.thumbWidth+]" height="[+dr.thumbHeight+]" alt="[+dr.alt+]" /></a>
                    <div class="highslide-caption" id="caption[+dr.id+]">
                    [+dr.title+]
                    </div>

                    The ditto output contains the caption div but there is no content.
                    </div> <div id="ditto_item_22" class="ditto_item clearfix" > 
                       <div class="ditto_item_info"> 
                            <a href="assets/drgalleries/15/big_IroningBoardIron.jpg" class="highslide" onclick="return hs.expand(this, {captionId: 'caption3'})">
                    
                    	<img src="assets/drgalleries/15/thumb_IroningBoardIron.jpg" class="" width="150" height="112" alt="" /></a>
                    <div class="highslide-caption" id="caption3">
                    
                    </div>
                    


                    Can someone help me sort this out?

                    Thank you!
                      www.terrybarthdesign.com
                      • 19164
                      • 1,215 Posts
                      @Terry Hi. May be it’s better to try new 0.9 version. You can download it there.
                        DirectResize 0.9 beta. PHPThumb, sets of configurations, configuration, binded to specific path. No backward compatibility. | DirectResize 0.9. PHPThumb, наборы параметров, параметры, привязанные к определенным путям. Без обратной совместимости.

                        Unfortunately, DirectResize project is closed. If you want to continue development, PM me for access to project page on Google Code. К сожалению, проект DirectResize закрыт. Если вы желаете продолжить разработки, обращайтесь через ПМ для получения доступа к репозиторию на Google Code.

                        [PLUGIN] DirectResize - as Maxigallery but for single images :: Download :: [url=http://modxcms.com/forums/index.php/topic,21490]