Uploaded image for project: 'VCL'
  1. VCL
  2. VCL-455

put alt text with a image generated by textimage.php

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.2.1
    • 2.3
    • web gui (frontend)
    • None
    • CentOS 5.5, httpd-2.2.15, php-5.2.14

    Description

      Putting alt text is helpful in the case where the image is collapsed due to some gd problems.

      diff -cb .ht-inc/utils.php.20110420 .ht-inc/utils.php

          • .ht-inc/utils.php.20110420 2011-04-20 05:35:59.000000000 +0900
          • .ht-inc/utils.php 2011-04-20 05:36:36.000000000 +0900
            ***************
          • 7860,7866 ****
            ///
            ////////////////////////////////////////////////////////////////////////////////
            function getImageText($text) { ! return "<img src=\"" . BASEURL . "/images/textimage.php?text=$text\">"; }

      ////////////////////////////////////////////////////////////////////////////////
      — 7860,7866 ----
      ///
      ////////////////////////////////////////////////////////////////////////////////
      function getImageText($text)

      { ! return "<img alt=\"" . $text . "\" src=\"" . BASEURL . "/images/textimage.php?text=$text\">"; }

      ////////////////////////////////////////////////////////////////////////////////

      Attachments

        Activity

          People

            jfthomps Josh Thompson
            kajita Shoji Kajita
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: