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
    This is an auto-generated support/comment thread for WriteWord.

    Use this forum to post any comments about this addition or any questions you have regarding its use.

    Brief Description:
    This snippet allows to generate image from the text with any font. Caching, templating and other options.
      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]
      • 33540
      • 40 Posts
      don’t work sad
        • 19164
        • 1,215 Posts
        Can you describe it in greater detail? Which is snippet call? Do you have gd2 library installed on your server?
          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]
          • 33540
          • 40 Posts
          I’m sorry to my mistake. It’s great snippets and work excelent.
          Thank’s Metaller to interest my problem and your reply.

          And I have one question . How make image letter in Wayfinder + Ajax menu and that is possible ?





            • 33540
            • 40 Posts
            I’sorry for my english .
            I have a problem. I can’t use snippets WriteWord to [*longtitle*] and [content] at the same time.

              • 28042 ☆ A M B ☆
              • 24,524 Posts
              Do you mean [*content*]?
                Studying MODX in the desert - http://sottwell.com
                Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                Join the Slack Community - http://modx.org
                • 19164
                • 1,215 Posts
                zimek_snk Lets repeat again smiley

                Can you describe it in greater detail? Which is snippet call? Do you use cached or uncached call?
                  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]
                  • 33540
                  • 40 Posts
                  ok...
                  I’d like to use WriteWord snippet in my layout not singly "content".
                  Unfortunately my method don’t work.

                  My english don’t let explain exactly my problem.



                  <div class="title">
                  [[WriteWord?&file=`media/lcallig.ttf` &text=`[*longtitle*]` &text_size=`14` &text_color=`#3C5E1B` &bg_color=`#E8ECD1` &quality=`100` ]]</div>
                  <div class="metadata"></div>

                  <div class="body">
                  <div id="content">

                  [[WriteWord?&file=`media/lcallig.ttf` &text=`[*#content*]` &text_size=`14` &text_color=`#3C5E1B` &bg_color=`#E8ECD1` &quality=`100` ]] huh??

                  </div>

                  </div>

                  method : [[WriteWord?&file=`SkodaSansRg.ttf` &text=`[*longtitle*]` &text_size=`12` &text_color=`#FFFFFF` &bg_color=`#CCCCCC` &quality=`100` &tpl=`writeword`]] work good, but how use imagge letter in text- content in my layout.


                  How use snippet correctly ? I don’t understand
                  <h1 class="pagetitle" style="background-image: url([+ww.fileurl+]); width: [+ww.width+]px; height: [+ww.height+]px;"><span>[+ww.text+]</span></h1>
                  and
                  <h1 class="pagetitle" style="background-image: url(/assets/cache/499063c8c7a81af2e7691193c07f690d.pageCache.jpg); width: 167px; height: 15px;"><span>Your text will be here.</span></h1>

                  Thank you for your interest .
                    • 19164
                    • 1,215 Posts
                    Don’t worry about your english, you can explain on russian if you want wink

                    Its my mistake and incorrect understanding of MODx setPlaceholder function. Snippet is realy incorrect work with more then one snippet call in the same page.

                    Try to use this fix yet, I am going totally rewrite snippet code in future.
                      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
                      Nice snippet,
                      I try to get transparent png files but I get this error:


                      imagepng(): supplied argument is not a valid Image resource

                      using jpg it works nice
                        follow me on twitter: @dimmy01