We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7129
    • 3 Posts
    I installed the plugin and set the $resize_method = 1 => should it now make thumbnails of all <img> in the page, which have defined width? Not only images added through WYSIWYG - all images on the page (e.g. in TV)

    example : <img src="assets/images/blank_tv.gif" alt="Blank Profile" width="322" />

    Right now it does not do anything - no change of img.src ...

    Thanks.
      • 19164
      • 1,215 Posts
      Hello.

      First, please post your qustions about DirectResize 0.8 in this topic, not here.

      $resize_method manages only method to calculate the height and width of the thumbnails. If only width is set on the source image, $resize_method automaticaly sets to 1. So this parameter does not affect the result in your case.

      Whether or not the image is processed by plugin depends on the parameters $lightbox_mode and $allow_from (read the manual). If you are using default config file, all supported images in "assets/images" folder must be processed by the plugin, if it was correctly installed.

      BUT, as readme said "Support for JPG and PNG files (GIF is not currently supported)"


        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
        ANy idea why I’m getting this error?

        Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 11648 bytes) in /home/eweb/public_html/assets/plugins/directresize/directResize.php on line 149

        To test, I uploaded an image that is 1mb in size, and tried to re-size it to 500px wide. All my settings in the plugin are good to go.  THe plugin works great with smaller images, but this one that is 1mb will not work. It appears the php script has a 64mb limit, so 1mb should be fine. Any ideas?

        EDIT: I didn’t have the newest version. My bad!!! Works like a CHARM now. GREAT PLUGIN!!!!!!
          Nick Hoag
          Creative Partner
          The FutureForward

          http://thefutureforward.com
          • 12147
          • 182 Posts
          I am curious to know if DirectResize works in 1.0.4?

          If not (or even if so), I would really appreciate any suggestions for an alternative - something that allows users to insert an image with a caption without messing with the html.

          Thanks!
          :)
            • 16610
            • 634 Posts
            Quote from: wlhh at Jun 11, 2010, 10:10 PM

            I am curious to know if DirectResize works in 1.0.4?

            I can confirm that DirectResize (0.8 and 0.9) works fine with MODx 1.0.4.
              Mikko Lammi, Owner at Maagit
              • 23510
              • 168 Posts
              Hi

              I’m hoping someone out there can help.

              Client’s site is hosted on godaddy. Linux. Directresize was originally working but now images are broken. The cache folder is 777 and in fact the phpthumbs demo gallery is working fine (I downloaded the demo images from the phpthumbs site).

              The only thing that was done to the site was the installation of webloginpe and pubkit however those are snippets and should not interfere with directresize in anyway.

              I was even trying to use the furl.php link manually in the browser but all I get is a blank page e.g. assets/plugins/directresize/furl.php?q=6600a3d7fb7365a73b0ce66d64622f4c/thumb_bannerad.jpg

              Any ideas?