We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40092
    • 265 Posts
    Wait a second, cleared up cache, and now actually giving me errors:

      [2013-03-14 07:24:03] (ERROR @ /connectors/system/phpthumb.php) phpThumb was unable to generate a thumbnail for: /paas/c0016/www/core/cache/phpthumb/phpThumb_cache_abcdev.thapriest86.modxcloud.com_src736bfb7c870793308afd27ab69e8d931_parfe75230c38c1dd77cfb659e43ae25583_dat0.jpeg
    [2013-03-14 07:24:03] (ERROR @ /connectors/system/phpthumb.php) phpThumb was unable to generate a thumbnail for: /paas/c0016/www/core/cache/phpthumb/phpThumb_cache_abcdev.thapriest86.modxcloud.com_src4293554b3149cd728e76f46855997c76_parfe75230c38c1dd77cfb659e43ae25583_dat0.jpeg
    [2013-03-14 07:24:03] (ERROR @ /connectors/system/phpthumb.php) phpThumb was unable to generate a thumbnail for: /paas/c0016/www/core/cache/phpthumb/phpThumb_cache_abcdev.thapriest86.modxcloud.com_srcb0ab34f429bfe2ba62339beb326f2298_parfe75230c38c1dd77cfb659e43ae25583_dat0.jpeg
    [2013-03-14 07:24:03] (ERROR @ /connectors/system/phpthumb.php) phpThumb was unable to generate a thumbnail for: /paas/c0016/www/core/cache/phpthumb/phpThumb_cache_abcdev.thapriest86.modxcloud.com_srcfbdb864b55e6488572ed1538ca553626_parfe75230c38c1dd77cfb659e43ae25583_dat0.jpeg
    [2013-03-14 07:24:04] (ERROR @ /connectors/system/phpthumb.php) Error outputting thumbnail:
    OutputThumbnail() failed because !is_resource($this->gdimg_output) in file "phpthumb.class.php" on line 557
    [2013-03-14 07:24:04] (ERROR @ /connectors/system/phpthumb.php) Error outputting thumbnail:
    OutputThumbnail() failed because !is_resource($this->gdimg_output) in file "phpthumb.class.php" on line 557
    [2013-03-14 07:24:04] (ERROR @ /connectors/system/phpthumb.php) Error outputting thumbnail:
    OutputThumbnail() failed because !is_resource($this->gdimg_output) in file "phpthumb.class.php" on line 557
    [2013-03-14 07:24:04] (ERROR @ /connectors/system/phpthumb.php) Error outputting thumbnail:
    OutputThumbnail() failed because !is_resource($this->gdimg_output) in file "phpthumb.class.php" on line 557
    [2013-03-14 07:24:04] (ERROR @ /connectors/system/phpthumb.php) phpThumb was unable to generate a thumbnail for: /paas/c0016/www/core/cache/phpthumb/phpThumb_cache_abcdev.thapriest86.modxcloud.com_src3c453b0aea5eccb36675dcc26f5b9809_parfe75230c38c1dd77cfb659e43ae25583_dat0.jpeg
    [2013-03-14 07:24:04] (ERROR @ /connectors/system/phpthumb.php) phpThumb was unable to generate a thumbnail for: /paas/c0016/www/core/cache/phpthumb/phpThumb_cache_abcdev.thapriest86.modxcloud.com_src58c29fac907f421fe0f11939b3f92821_parfe75230c38c1dd77cfb659e43ae25583_dat0.jpeg
    [2013-03-14 07:24:04] (ERROR @ /connectors/system/phpthumb.php) Error outputting thumbnail:
    OutputThumbnail() failed because !is_resource($this->gdimg_output) in file "phpthumb.class.php" on line 557
    [2013-03-14 07:24:04] (ERROR @ /connectors/system/phpthumb.php) Error outputting thumbnail:
    OutputThumbnail() failed because !is_resource($this->gdimg_output) in file "phpthumb.class.php" on line 557
    [2013-03-14 07:24:04] (ERROR @ /connectors/system/phpthumb.php) phpThumb was unable to generate a thumbnail for: /paas/c0016/www/core/cache/phpthumb/phpThumb_cache_abcdev.thapriest86.modxcloud.com_src51aca22fdae8e819d1afebea11ac21f7_parfe75230c38c1dd77cfb659e43ae25583_dat0.jpeg
    [2013-03-14 07:24:04] (ERROR @ /connectors/system/phpthumb.php) phpThumb was unable to generate a thumbnail for: /paas/c0016/www/core/cache/phpthumb/phpThumb_cache_abcdev.thapriest86.modxcloud.com_src5b409f3f25e40ccebbe6eec7606948a5_parfe75230c38c1dd77cfb659e43ae25583_dat0.jpeg
    [2013-03-14 07:24:04] (ERROR @ /connectors/system/phpthumb.php) phpThumb was unable to generate a thumbnail for: /paas/c0016/www/core/cache/phpthumb/phpThumb_cache_abcdev.thapriest86.modxcloud.com_src7abcb6b95bf561a13497fe5428a285b9_parfe75230c38c1dd77cfb659e43ae25583_dat0.jpeg
    [2013-03-14 07:24:04] (ERROR @ /connectors/system/phpthumb.php) Error outputting thumbnail:
    OutputThumbnail() failed because !is_resource($this->gdimg_output) in file "phpthumb.class.php" on line 557
    [2013-03-14 07:24:04] (ERROR @ /connectors/system/phpthumb.php) Error outputting thumbnail:
    OutputThumbnail() failed because !is_resource($this->gdimg_output) in file "phpthumb.class.php" on line 557
    [2013-03-14 07:24:04] (ERROR @ /connectors/system/phpthumb.php) Error outputting thumbnail:
    OutputThumbnail() failed because !is_resource($this->gdimg_output) in file "phpthumb.class.php" on line 557
    [2013-03-14 07:24:07] (ERROR @ /connectors/system/phpthumb.php) phpThumb was unable to generate a thumbnail for: /paas/c0016/www/core/cache/phpthumb/phpThumb_cache_abcdev.thapriest86.modxcloud.com_src736bfb7c870793308afd27ab69e8d931_paradf896d45f319fa323d889e84ccb98c5_dat0.jpeg
    [2013-03-14 07:24:07] (ERROR @ /connectors/system/phpthumb.php) Error outputting thumbnail:
    OutputThumbnail() failed because !is_resource($this->gdimg_output) in file "phpthumb.class.php" on line 557
    [2013-03-14 07:24:07] (ERROR @ /connectors/system/phpthumb.php) phpThumb was unable to generate a thumbnail for: /paas/c0016/www/core/cache/phpthumb/phpThumb_cache_abcdev.thapriest86.modxcloud.com_src736bfb7c870793308afd27ab69e8d931_paradf896d45f319fa323d889e84ccb98c5_dat0.jpeg
    [2013-03-14 07:24:07] (ERROR @ /connectors/system/phpthumb.php) Error outputting thumbnail:
    OutputThumbnail() failed because !is_resource($this->gdimg_output) in file "phpthumb.class.php" on line 557
    


    Wich probably means that there's something wrong with the path to the images?
      • 4172
      • 5,888 Posts
      are you sure the mediasource for this field points to the correct directory and all images are uploaded into that directory?
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 40092
        • 265 Posts
        The field is set to the correct mediasource, but if i'm correct this would be a column where the image needs to be rendered.

        And there i have this.renderimage, but i can't specify a location for the images there.
        • discuss.answer
          • 4172
          • 5,888 Posts
          the configuration for the image-field in accomodationimages should be correct now.

          inputTVtype: image and use the mediasource : 2

          for example the image c98929d458fc7456f26a.jpg in accomodation: 1 - image: 45

          This image doesn't exist in the directory.
          So, its not easy to render an image which doesn't exist.
            -------------------------------

            you can buy me a beer, if you like MIGX

            http://webcmsolutions.de/migx.html

            Thanks!
            • 40092
            • 265 Posts
            inputTVtype: image and use the mediasource : 2


            That was the error, it should have been 3. I changed that, but didn't save. I just did it again and now it works. smiley
            Thanks again ;-)

            Wich box should i now tick to be able to sort and remove/add pictures from this grid? (instead of edit first) ?
              • 4172
              • 5,888 Posts
              if you have a field in your table 'deleted' you can use delete_remove_recall and the action-button for swithing between trash-view/normal view

              if not, use the button 'remove'

              sorting by drag/drop in a MIGXdb grid is not possible (out of the box)
              you will need to set a sort value manually.
                -------------------------------

                you can buy me a beer, if you like MIGX

                http://webcmsolutions.de/migx.html

                Thanks!
                • 40092
                • 265 Posts
                if you have a field in your table 'deleted' you can use delete_remove_recall and the action-button for swithing between trash-view/normal view

                I have created 'deleted' in my table, but i am not quite sure what it is i can do with it?
                I can toggle between normal and trashview, but not actual remove/delete anything?


                sorting by drag/drop in a MIGXdb grid is not possible (out of the box)
                you will need to set a sort value manually.

                Okay, thanks:-) The sort order is already in the table, so manually should be a breeze.
                • discuss.answer
                  • 4172
                  • 5,888 Posts
                  you will need a 'deleted' - field also in the columns, this can be hidden from the view.
                  Otherwise MIGX doesn't know, if the item is actually deleted or not and cannot figure which options to show in the popup.
                    -------------------------------

                    you can buy me a beer, if you like MIGX

                    http://webcmsolutions.de/migx.html

                    Thanks!
                    • 40092
                    • 265 Posts
                    you will need a 'delected' - field also in the columns, this can be hidden from the view.
                    Otherwise MIGX doesn't know, if the item is actually deleted or not and cannot figure which options to show in the popup.

                    That is indeed logical. Thanks, got that working as well, nice feature!