We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 13428 ☆ A M B ☆
    • 1,031 Posts
    Has the ManagerManager jQuery inside the editing iframe really any issues with the Quickmanager jQuery outside of the editing iframe?
      • 36416
      • 589 Posts
      Quote from: Jako at Feb 03, 2014, 12:42 PM
      Has the ManagerManager jQuery inside the editing iframe really any issues with the Quickmanager jQuery outside of the editing iframe?

      No, they are isolated from each other - but browser memory cache is too precious for two versions of that bloated library on the same site (at least that's how I percieve it, no scientific measurement has been done to prove it).

      BTW, is the latest MultiTV backward compatible with ManagerManager from 1.0.12 or the older version should be used in Evolution1.0.13 combined with ManagerManager 0.3.11 ?
        • 20413
        • 2,877 Posts
        I created a new ManagerManager widget showimagetvthumbs.php would be nice to get added.
        As showimagetvs.php grabs the FULL picture (slow)

        https://forums.modx.com/thread/45206/managermanager-mm-widget-showimagetvs-not-working-in-modx-evo?page=3

        This makes use of the (AWESOME) KCFinder thumbnails already created.
          @hawproductions | http://mrhaw.com/

          Infograph: MODX Advanced Install in 7 steps:
          http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

          Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
          http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower
          • 42399
          • 39 Posts
          Quote from: mrhaw at Feb 05, 2014, 12:33 PM
          I created a new ManagerManager widget showimagetvthumbs.php would be nice to get added.
          As showimagetvs.php grabs the FULL picture (slow)
          It seems to be redundant to create additional widget. mm_widget_showimagetvs already has thumbnailerUrl parameter, so we can use it to make additional image processing. https://github.com/Pathologic/managerResize - here I've made a proof of idea with phpthumb. It's very easy to modify it to use KCFinder thumbnails. But also keep in mind, that KCFinder doesn't make thumbs if original image size is less than thumb size.
            • 20413
            • 2,877 Posts
            Quote from: pathologic at Feb 06, 2014, 05:37 AM
            It seems to be redundant to create additional widget. mm_widget_showimagetvs already has thumbnailerUrl parameter, so we can use it to make additional image processing. https://github.com/Pathologic/managerResize - here I've made a proof of idea with phpthumb. It's very easy to modify it to use KCFinder thumbnails. But also keep in mind, that KCFinder doesn't make thumbs if original image size is less than thumb size.

            1. I was having problem with PHPThumb and I really don't like to use it. Specially not in the manager.
            // I even use the KCFinder thumbnails in the front-end.
            return str_replace('assets/images', 'assets/.thumbs/images', $output);

            People on the internet says:
            You're better off always generating thumbnail versions of images on upload/creation instead of trying to serve them through php scripts on-demand.
            http://stackoverflow.com/questions/9346298/what-is-the-best-to-use-phpthumb

            2. The widget file and folder adds 3 kB but can be made smaller.

            3. In the mm_rules one can use PHP to turn on/off previews based on resoure id (etc.) OR use the original widget for such odd pictures. But I did fix it for my own needs:
            https://forums.modx.com/thread/88252/modx-evolution-1-0-13-rc2---need-help-with-tests?page=8#dis-post-489573

            This is currently NOT possible in MODX EVO: http://snag.gy/F2y0B.jpg
            Pics are all 1000 pixels in size and as I have 3 tabs it would kill the server using PHPThumb.

            Give me Creative Freedom to avoid the relic - that is PHPThumb! wink

            » showimagetvthumbs.txt (rename to .php)
            [ed. note: mrhaw last edited this post 12 years, 7 months ago.]
              @hawproductions | http://mrhaw.com/

              Infograph: MODX Advanced Install in 7 steps:
              http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

              Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
              http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower
              • 42399
              • 39 Posts
              You're better off always generating thumbnail versions of images on upload/creation instead of trying to serve them through php scripts on-demand.

              It's better to use caching instead of always generating (:

              This is currently NOT possible in MODX EVO: http://snag.gy/F2y0B.jpg
              Pics are all 1000 pixels in size and as I have 3 tabs it would kill the server using PHPThumb.

              Give me Creative Freedom to avoid the relic - that is PHPThumb! wink

              I simply wanted to say that mm_widget_showimagetvs allows to run external script to process image. And this script can call PHPThumb or do something else (str_replace, check image size and so on).
              By the way, why don't you use MultiTV to manage galleries?
                • 46526
                • 21 Posts
                Hello,

                I have one question, did u fix a phpthumb + evogallery bug?

                For example in MODX Evo 1.0.12 when i use great EvoGallery addos like this:

                template: gallery
                [[EvoGallery? &docId=`[*id*]` &itemTpl=`img_gal`]]

                chunk: img_gal

                <img src="[[phpthumb? &input=`[+img1+]` &options=`w=250,h=140,zc=C`]]" alt="" />

                It doesnt work.... phpthumb cant load img1 :/
                  • 7662 ☆ A M B ☆
                  • 276 Posts
                  It doesnt work.... phpthumb cant load img1 :/


                  img1 - not return url to image then it can't work

                  see the doc for EvoGallery how generic url in tpl
                    http://modx.im - Russian community
                    http://extras.evolution-cms.com - Repository for Evolution
                    • 20413
                    • 2,877 Posts
                    Quote from: pathologic at Feb 06, 2014, 10:23 AM

                    I simply wanted to say that mm_widget_showimagetvs allows to run external script to process image. And this script can call PHPThumb or do something else (str_replace, check image size and so on).
                    By the way, why don't you use MultiTV to manage galleries?

                    Yes, you are correct! smiley
                    I have 4 options: Modify original widget, Write new widget (what I did), Write a $thumbnailerUrl file-script OR Install MultiTV. //On the linked project I assigned every picture it's own cached URL. I'm sure it could have been done using MultiTV as well.

                    The ultimate solution would probably be to add a variable to mm_widget_showimagetvs : $image [full|thumb] that gave people who are less impressed by phpThumb the option to opt out. wink

                    Thanks for all the good stuff, contributions and work that has been done.
                      @hawproductions | http://mrhaw.com/

                      Infograph: MODX Advanced Install in 7 steps:
                      http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

                      Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
                      http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower
                      • 9995
                      • 1,613 Posts
                      Quote from: haki1986 at Feb 06, 2014, 11:17 AM

                      <img src="[[phpthumb? &input=`[+img1+]` &options=`w=250,h=140,zc=C`]]" alt="">

                      needs to be: zc=1
                      but it probably doesn't solve the problem, use: &input=`[+images_dir+][+filename+]`

                      [!EvoGallery? &docId=`[*id*]` &display=`images` &type=`simple-list` &tpl=`fotoboek-ul` &itemTpl=`fotoboek-li`!]

                      <li><a href="[+images_dir+][+filename+]" class="fancybox-thumbs" title="[+title+]" data-fancybox-group="thumb"><img class="roundedborder" src="[[phpthumb? &input=`[+images_dir+][+filename+]` &options=`w=85,h=85,zc=1,q=85`]]" alt="" /></a></li>

                      <ul>
                      [+items+]
                      </ul>
                      <div style="clear:both;"></div>

                      [ed. note: fourroses666 last edited this post 12 years, 7 months ago.]
                        Evolution user, I like the back-end speed and simplicity smiley