We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19164
    • 1,215 Posts
    Sorry for my english, i’ll try to explain.

    1. Our document sourse (back end):

    <img src="img.jpg" />

    On the site code fully taken from template in config file:

    <a href="#" rel="lightbox">
    <img src="img.jpg" />
    </a>

    But, if we are use label "drthumbonly" (for thumbnail only w/o preview) template from config file is not used. In this case image tag was taken from document as is, only path is replaced).


    2. Our document sourse (back end):

    <img width="50" height="50" src="asssets/img.jpg" drthumbonly /> valid

    On the site:

    <img width="50" height="50" src="asssets/drgalleries/5/img.jpg" /> valid


    3. Our document sourse (back end):

    <img width="50" height="50" src="asssets/img.jpg" drthumbonly > not valid

    On the site:

    <img width="50" height="50" src="asssets/drgalleries/5/img.jpg" > not valid


      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]
      • 8790
      • 526 Posts
      thank you .

      I’m sorry but I just dont know about all these parameters I never knew before you talk about it..

      I’m not using MANUALLY anything.

      I just let TINYMCE doing what it have to do. (I just declare on the editor "insert an image" , choose it, on the image properties area I set some smaller width, let the height adjust and valid.

      Looking the generated html into the still opended tinymce editor window I see correct html.
      BUT
      as soon as I save (and the page is reloaded) the code is flushed away by ’something’ and there’is not more ending / or ALT

      On previous websites I did not had such issue
        Schtroumpf Grognon - Grouchy Smurf
        ---------------------------------
        Faites pas attention.. - Don&#39;t pay attention
        http://www.dzi-neo.net
        • 19164
        • 1,215 Posts
        I don’t know what is it. Be sure that all code in your config file is correct too. Try to turn off plugin, may be other script made this.
          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]
          • 8790
          • 526 Posts
          hi


          Looks like being an issue from TinyMCE.

          damn Am I alone huh
            Schtroumpf Grognon - Grouchy Smurf
            ---------------------------------
            Faites pas attention.. - Don&#39;t pay attention
            http://www.dzi-neo.net
            • 16085
            • 203 Posts
            Loving this plugin. I needed a slimmer single version of Maxi for a project and this works a treat!! smiley

            However, my only grip is the cache update. So far the only way I found that clears the cache is to open the Plugin from the Manager and save it. Then the new cache generates. Which is slightly annoying when in development mode. Can this not be switched to an override setting in the config file instead having to jump back anf forth from the Manager.

            I might have misread the documents so it’s just a thought!
              • 19164
              • 1,215 Posts
              Have you tried "Cache clear mode" option in plugin configuration?

              Anyway, now i am working on new version based on PHPThumb and all cache managment will be with this library.
                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]
                • 16085
                • 203 Posts
                @metaller, yes it was set to 0. I then change it to 2. As each time I made a change in my slimbox-config the water mark wouldn’t show up until I went back to the manager open the script (no changes) and saved it again. I just wanted no cache option, which is what I set on most documents whilst in development. It’s not a major problem just adds more clicks to the process, hence why I thought an override of the manager setting would be easier.

                * 0 - clearing is off
                * 1- clear cache only for edited document when saving
                * 2- clear cache for all documents

                anyway look forward to the PHPThumbs version! smiley
                  • 7455
                  • 2,204 Posts
                  Is it posible to use directresize to only create the thumb and big image once so that I can reuse the big image and thumbs on other places without hat directresize grbas them and resizes them again?

                  What I mean is this:
                  I have a product page where I have a tv that is is included in the direcresize. it creates a nice highslide popup, all ok.

                  the id of the page is 22 so the images are saved in assets/drgalleries/22/thumb_imagename.jpg and assets/drgalleries/22/big_imagename.jpg

                  now I like to use tos image in my ditto like this:

                  <div class="ditto2_holder">
                  <img src="/assets/drgalleries/[+id+]/big_[+productfoto:filename+]" title="[+pagetitle+]" alt="[+pagetitle+]" />

                  <span class="ditto2_kopje"><a href="[~[+id+]~]" title="Ga naar [+longtitle+]">[+description:limit=`50`:notags+]</a></span>
                  </div>

                  where [+productfoto:filename+] is the tv with a phx snippet that extracts the file name from the tv value (assets/images/productimages/imagename.jpg becomes imagename.jpg) so far so good

                  in theory this works but directresize grabs the big image and reprocesses the image and creates a highslide thumbnail where I would like to have the Big image.

                  would i be posible that direct resize would not touch those images?
                  that would be great mabe a extra label in the image tag?
                    follow me on twitter: @dimmy01
                    • 19164
                    • 1,215 Posts
                    You can use drskip label in your ditto call to skip image proccessing. RTM.
                      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]
                      • 7455
                      • 2,204 Posts
                      OK i see
                      I now read the manual again and yes its there is there also one for drbigonly? I do not see that.

                      I like to use dr as cropping tool only on that page (newsletter page so no js availible)

                      Thanks for this great product

                      Dimmy
                        follow me on twitter: @dimmy01