We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 31833
    • 3 Posts
    This is an auto-generated topic for DirectResize Revo 1.0.1-rc1 by vrtc.

    Brief Description:

    This version of the plugin is based on idea and developments of Arnaud, the author of previous versions of the DirectResize.
      • 6862
      • 97 Posts
      (ERROR @ ***/html/core/cache/elements/modplugin/4.include.cache.php : 37) Un-recoverable error 8192: Function eregi_replace() is deprecated
        • 3749
        • 24,544 Posts
        Quote from: De at Oct 16, 2010, 01:50 AM

        (ERROR @ ***/html/core/cache/elements/modplugin/4.include.cache.php : 37) Un-recoverable error 8192: Function eregi_replace() is deprecated


        That should be updated. In the meantime, see this: http://www.codeterrorizer.com/php/turn-off-deprecated-warnings
          Did I help you? Buy me a beer
          Get my Book: MODX:The Official Guide
          MODX info for everyone: http://bobsguides.com/modx.html
          My MODX Extras
          Bob's Guides is now hosted at A2 MODX Hosting
          • 1892
          • 82 Posts
          Hi,

          I’ve been using DirectResize with Evo and I’m just switching to Revo so I was delighted to find this plugin.

          It worked straight out of the box without any problems. However all the system plugin descriptions are in Cyrillic(?). Now from the code I can work out what they all do but I was wondering if there were any plans to switch the description according to system language settings?

          Also there are quite a few extra settings for highslide that I’d like to use but they are not available via the settings. Are there any planned developments or a way of submitting patches?

          Regards

          Adrian
            • 1892
            • 82 Posts
            OK - after a little more digging I’ve solved the first problem, it was already set up for multilingual support, it’s just that the "en" lexicon file was still in Russian.

            So I cleared the cache and put in an english translation for "en". The file is attached if anyone else is using this plugin, once the plugin is installed then replace the Russian file in core/components/directresize/lexicon/en with the one attached.

            Is there a process to get the main package updated?

            Regards

            Adrian Cherry
              • 31833
              • 3 Posts
              Quote from: apcherry at Oct 22, 2010, 05:51 PM

              Hi,

              I’ve been using DirectResize with Evo and I’m just switching to Revo so I was delighted to find this plugin.

              It worked straight out of the box without any problems. However all the system plugin descriptions are in Cyrillic(?). Now from the code I can work out what they all do but I was wondering if there were any plans to switch the description according to system language settings?

              Also there are quite a few extra settings for highslide that I’d like to use but they are not available via the settings. Are there any planned developments or a way of submitting patches?

              Regards

              Adrian
              Yes, I will develop this extension, but my English is very bad, so I did not do English File
              Also thanks for the English language file, in the near future I will add it in a package
                • 1892
                • 82 Posts
                Hi,

                Thankyou for responding, it is good to know there will be developments. Don’t worry about your English, it’s a lot lot better than my Russian!!

                Regards

                Adrian
                  • 1892
                  • 82 Posts
                  Sorry - I’ve been fiddling again. I’m still not sure if you have a public hosted area for the source code so forgive me if I put my input here for the minute.

                  In the revo package I believe the "highslide.css" file is missing. I downloaded it from the highslide website and placed it in the directresize directory. I then modified the snippet by adding
                  <link rel="stylesheet" type="text/css" href="assets/components/directresize/highslide.css" />

                  at the bottom of the snippet after the javascript call to the highslide.packed.js.
                  This enables quite a few of the highslide graphics options, for example the fullExpand icon which is what I was after. Although I had to move the graphics directory under js up one level to the directresize directory for the links in the highslide.css file to work. It would be nice in the settings for the user to have either the default css file or overide it with their own option.

                  The next change was to the various highslide options at the bottom of the snippet, at the moment I have the following :
                  <script type="text/javascript">
                  hs.graphicsDir = \'assets/components/directresize/graphics/\';
                                    hs.outlineType = \'rounded-white\';
                                    hs.captionEval = \'this.thumb.alt\';
                                    hs.lang.creditsText = \'\';</script>';

                  The outlineType allows me to change the appearance of the expanded image, the captionEval allows me to put the "alt" text on the image as a caption under the expanded image. Rather than editing the snippet it would be nice for the user to be able to select the options from the settings file. For the outlineType this could be a dropdown selection of .
                  For the caption on the expanded image, on the lefthand side you could have either captionEval (text at the bottom) or headingEval (text at the top). On the righthand side this.thumb.alt uses the alt text or this.thumb.title uses the title text for the image. Again letting the users select this from the settings would make this an awesome package for revo. In my humble opinion of course!!

                  I hope you take these suggestions in the helpful manner intended as I think it has the makings of a great package for Revo.

                  Regards

                  Adrian

                    • 21191
                    • 236 Posts
                    How do I disable images from being processed.. the old options from evo don’t seem to work.
                      ~Shawn Himmelberger
                      Check out my MODx Development and MODx Design Company - Himmelberger Design