We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25483
    • 741 Posts
    Quote from: Metaller at Nov 29, 2007, 01:07 PM

    Thanks for your report, i’ll check it today.

    Thanks for checking it out smiley

    Maybe it is a idea to process the GIF images with another script which is able to edit GIF images? It’s not so nice to tell my client that he has to convert al his images to JPG or PNG shocked
      with regards,

      Ronald Lokers
      'Front-end developer' @ h2o Media

      • 19164
      • 1,215 Posts
      I want to use phpThumb class in the future version, so GIF is not supported only now but not forever

      Bug with gif-images on the page - fixed.
        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]
        • 25483
        • 741 Posts
        Quote from: Metaller at Nov 29, 2007, 01:47 PM

        I want to use phpThumb class in the future version, so GIF is not supported only now but not forever

        Bug with gif-images on the page - fixed.

        Just tested it, it just leaves GIF files alone now smiley thx!
          with regards,

          Ronald Lokers
          'Front-end developer' @ h2o Media

          • 14050
          • 788 Posts
          Thanks for the plugin. Is there anyway that I could specify the size of the the thumbnails for specific document IDs? Say for one page I want a width of 50px, for another I want it at 100px, and for all the others 300px. The source image/big image would be the same for all three.
            Jesse R.
            Consider trying something new and extraordinary.
            Illinois Wine

            Have you considered donating to MODx lately?
            Donate now. Every contribution helps.
            • 19164
            • 1,215 Posts
            Hi. You can combine of using DirectResize and PHx:

            [*id:is=`1`:or:=`15`then=`
            	<img src="myimage" height="50" />
            `:else=`
            	[*id:is=`2`:or=`30`:or=`45`:then=`
            		<img src="myimage" height="100" />
            	`:else=`
            		<img src="myimage" height="300" />
            	`*]
            `*]

              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]
              • 23050
              • 1,842 Posts
              Wow ! Never thought about such use... very nice smiley Thanks to point it wink
                • 14050
                • 788 Posts
                I take it I would use that in the template inside the configuration file? For example, how would that work the the highslide configuration file?
                  Jesse R.
                  Consider trying something new and extraordinary.
                  Illinois Wine

                  Have you considered donating to MODx lately?
                  Donate now. Every contribution helps.
                  • 19164
                  • 1,215 Posts
                  No, insert this code inside document content, TV or your site template.

                  I’m not sure that completely understand your problem.
                    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]
                    • 21101
                    • 169 Posts
                    Hello

                    is it possible to activate only the "resize feature" ? i don’t want any JS effects for my pics, i only need an automatic thumbnail grin
                      Play no games
                      • 19164
                      • 1,215 Posts
                      Hello.

                      Yes, use "drthumbonly" label (see readme).

                      1. Check your config file (default file is assets\plugins\directresize\configs\highslide.config.php) and set $thumb_use_watermark = FALSE; if your are no needs to use watermarks (magnifier as default image)

                      2. In your documents add "drthumbonly" in any place to image tags, that you don’t need to add lightbox feature. For example:

                      <img src="[+some_TV+]" width="100" height="100" drthumbonly/>

                      Don’t worry about drthumbonly, it will be removed in the output.
                        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]