We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
  • I'd also like to mention that it works fine with the pthumb add-on for image manipulation.
      Studying MODX in the desert - http://sottwell.com
      Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
      Join the Slack Community - http://modx.org
    • Quote from: sottwell at May 05, 2015, 08:34 AM
      The MODX repository is still providing a much earlier version for download; it doesn't display properly in Revo 2.3.3

      I Will ask AlanPich directly to replace it with my branch (but it is not tested with Revo 2.2.x). In my opinion the 3.x changes are a bit overkill (i.e. own database for images, own caching etc.). This should be done directly by pThumb or some other thumbnail extra.
        • 37914
        • 89 Posts
        Quote from: Jako at May 04, 2015, 09:38 PM
        Try this changes: https://github.com/Jako/ImagePlus/commit/8c8e180cbdd77df7ba786b8a0586bcf4ad399465

        Thanx for your fast action.
        This messes up resource editing.
        I get a blank page when loading a resource in the backend.
        I have MODX 2.3.3-pl.

        The PHP error log:
        [Wed May 06 12:30:53 2015] [warn] [client ***.***.***.***] mod_fcgid: stderr: PHP Fatal error: require(): Failed opening required '/var/www/vhosts/***.nl/gearbox/components/imageplus/imageplus.class.php' (include_path='.:') in /var/www/vhosts/***.nl/gearbox/components/imageplus/elements/tv/input/imageplus.class.php on line 45, referer: http://***.nl/beheer/ [ed. note: mdehaan last edited this post 9 years ago.]
        • The file changes in that commit could not cause that issue. Have you uploaded the whole files or just inserted the changes.
            • 38440
            • 18 Posts
            Not read back through the whole thread - just the last few pages. Just want to check: my understanding is that it is not possible to use ImagePlus with MIGX. Is this correct?
            • Image+ 2.3.1 should work with MIGX. There was a bug that occured, if a media source was not set for the inputTVtype in MIGX.

              Another problem could be the ImagePlus snippet. It should have a fromJson parameter to feed the value of the MIGX column placeholder to the snippet in the row template of getImageList. Will be in the next version of the package.
                • 38440
                • 18 Posts
                Thanks Jako. I will try with the new version.
                  • 37523
                  • 141 Posts
                  Is anyone having issues of not getting a preview thumbnail once the crop has been selected on a image?

                  If I add a image that is the exact required dimensions (no need for a crop) the thumbnail appears fine within the resource. A image with the incorrect dimensions and proportions that requires a crop does not appear correctly. All I get is a thin 1 or 2 pixel line. All looks good when I crop the image but not the preview within the resource.

                  When the output of the TV is used, all works as expected.

                  All advice welcome. Many thanks in advance.

                  I am using:
                  MODX 2.40
                  Image + 2.3.4
                  pThumb 2.3.3
                  PHP 5.4.37 on a Apache server
                    Glyn Szasz
                    Sydney, Australia

                    Happy to help (when can) and happy to learn

                    If you are a Sydney based MODX developer would love to hear from you. Please contact me.
                  • Could you add ', w: 150, zc: 1' in this line https://github.com/Jako/ImagePlus/blob/master/assets/components/imageplus/mgr/js/imageplus.migx_renderer.js#L34 and check if the output is ok then?
                      • 37523
                      • 141 Posts
                      Quote from: Jako at Sep 21, 2015, 07:05 AM
                      Could you add ', w: 150, zc: 1' in this line https://github.com/Jako/ImagePlus/blob/master/assets/components/imageplus/mgr/js/imageplus.migx_renderer.js#L34 and check if the output is ok then?
                      Still the same issue.Should I remove the line as it does not work.
                        Glyn Szasz
                        Sydney, Australia

                        Happy to help (when can) and happy to learn

                        If you are a Sydney based MODX developer would love to hear from you. Please contact me.