We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15594
    • 1 Posts
    I need to be able to resize images (not in a gallery) and can’t seem to find anything for Revolution to do this? Ideas anyone?
    Also, I am interested in image masking, meaning there is an allotted area for an image and instead of resizing, the mask acts like a window letting only that part of the photo show through.

    Image resize is most important. I had used TVimageResizer for Evolution but doesn’t seem to be anything like this for Revolution huh
      • 21946
      • 283 Posts
      There is a snippet called phpthumbof that should do the trick. However, i could’nt make it work in my installation, don’t know why. But maybe you’ll be luckier that me ;-)

      I agree, this is something VERY important. If you try phpthumbs, let me knows it it works for you.
        [url=http://www.savepoint.fr/index.php?id=38] -petits tuyaux pour les d
        • 20178
        • 82 Posts
        there is actually exactly the same thing by the sounds of it in revolution,

        if you install the gallery component,

        create a new tv

        for input type select galleryitem

        output type gallery item

        apply to a template

        open resource view tv’s

        there you have image resizing and cropping
          • 9677
          • 3 Posts
          Hi all,

          phpthumbof use shell functions of php (system(),exec(),passthru(),shell_exec()) and that is problem, why is phpthumbof unusable.
          phpthumbof send command to imagemagic by command line. On shared servers aren’t allowed in OS execute this command and generating thumbnails end with:
          PHP warning: shell_exec() [<a href=’function.shell-exec’>function.shell-exec</a>]: Unable to execute ’which convert 2&gt;&amp;1’

          And another solutions for working with imagemagic isn’t implemented yet in Revolution....and (system(),exec(),passthru(),shell_exec() are allowed in configuration of Apache)

          One solutions is use native PHP API for imagemagic imagick library, see: http://php.net/manual/en/book.imagick.php
            • 10313
            • 375 Posts
            DirectResize is available for Revolution. It can be found via the Package Manager.
              • 11139
              • 34 Posts
              Direct Resize sounds promising but currently doesn’t want to be downloaded - the Package Manager said:

              Could not download package at: http://modx.com/extras/download/?id=4d556ce3b2b083396d000ea0
              Anyone know what to do about that?

              Thomas