You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vcl.apache.org by "Josh Thompson (Assigned) (JIRA)" <ji...@apache.org> on 2012/02/23 22:31:53 UTC
[jira] [Assigned] (VCL-455) put alt text with a image generated by
textimage.php
[ https://issues.apache.org/jira/browse/VCL-455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Josh Thompson reassigned VCL-455:
---------------------------------
Assignee: Josh Thompson
> put alt text with a image generated by textimage.php
> ----------------------------------------------------
>
> Key: VCL-455
> URL: https://issues.apache.org/jira/browse/VCL-455
> Project: VCL
> Issue Type: Improvement
> Components: web gui (frontend)
> Affects Versions: 2.2.1
> Environment: CentOS 5.5, httpd-2.2.15, php-5.2.14
> Reporter: Shoji Kajita
> Assignee: Josh Thompson
> Priority: Minor
> Fix For: 2.3
>
>
> 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\">";
> }
>
> ////////////////////////////////////////////////////////////////////////////////
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira