We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1892
    • 82 Posts
    Given that other support threads seem to start with "this is an auto-generated topic" then I expected a thread to automagically appear for an extra I recently submitted. However I can’t see anything appearing, so I’ve created this manually.

    Direct Resize is a plugin to apply the Highslide JS image expander to images on the website. Similar to lightbox / slimbox but with a few nice features, the image will expand to the viewable screen area with the option to expand to full size. The styling on the popup images can be changed and the captions are picked up from the image title or alt text.

    Background : there was an excellent Directresize plugin for Evo, unfortunately the original author hasn’t had time to upgrade it for Revo. A directresize for Revo has been generated but was missing several features which I was after and used an old version of the highslide javascript which fails when using Chrome. I emailed the author suggesting hosting on github and proposing a few upadates. Presumably due to the language barrier I’ve been unable to get a response. I emailed the original author of the Evo plugin to ask if it was ok to develop the plugin for Revo using the original DirectResize name for the plugin, which he generously allowed me to do. So this is the current state of the plugin.

    I use it extensively on my website so for an example please have a look at http://cherryclan.com/locos/standard-4/pony-truck.html

    The plugin is hosted on github, http://github.com/apcherry/directresize so please use this if you can to report any bugs or feature requests.

    It’s the first time I’ve published anything for modx so any questions, requests or feedback would be gratefully received.
      • 36992
      • 3 Posts
      dosn't work modx function regClientStartupScript, regClientStartupHTMLBlock after installation DirectResize
        • 37086
        • 2 Posts
        Well guy, you crash my modx site!

        I download it from your website and install it via the package manager, now my manager is lost.

        Errorcode:
        Error!
        
        Keine Action mit 61 gefunden.


        This came on every managersite, only the number change.

        How can i repair it?
          • 37086
          • 2 Posts
          My site works now again, after an upgrade vie the setup directory. Funny addon....
            • 23510
            • 168 Posts
            Hi, I have tried this updated plugin on two sites and can't get it to work. My understanding is that any image you resize manually in tinymce will have a new image created for it in those dimensions and you will be able to click on it to view the larger image.

            If so, this is not happening.

            The only thing I had to change was imagepath to assets/images

            Any ideas?

            Thanks in advance.
              • 23510
              • 168 Posts
              I should add that I don't really need the highslide part of directresize, just the auto-resize part as my client will upload larger images and the system should do the resizing.
                • 23510
                • 168 Posts
                Problem solved. The plugin fails for filenames with spaces. sad