⚲
Project
General
Profile
Sign in
Home
Projects
Help
Search
:
TYPO3 Core
All Projects
TYPO3 Core
Overview
Activity
Roadmap
Issues
Repository
Download (1.34 KB)
Bug #14180
ยป dmc_image_alttext_for_css_styled_imgtext.txt
Administrator Admin, 2005-04-12 03:55
Install extension Alttext for Images (key:dmc_image_alttext)
In css_styled_imgtext/pi1/class.tx_cssstyledimgtext_pi1.php, replace:
$imgKey = $a+$imgStart;
$totalImagePath = $imgPath.$imgs[$imgKey];
$this->cObj->data[$this->cObj->currentValKey] = $totalImagePath;
$imgObjNum = intval($splitArr[$a]['imgObjNum']);
$imgConf = $conf[$imgObjNum.'.'];
if ($equalHeight) {
with the following:
$imgKey = $a+$imgStart;
$totalImagePath = $imgPath.$imgs[$imgKey];
$this->cObj->data[$this->cObj->currentValKey] = $totalImagePath;
$imgObjNum = intval($splitArr[$a]['imgObjNum']);
$imgConf = $conf[$imgObjNum.'.'];
// "alt", "title" and "longdesc" attributes:
if (!strlen($imgConf['altText']) && !is_array($imgConf['altText.'])) {
$imgConf['altText'] = $conf['altText'];
$imgConf['altText.'] = $conf['altText.'];
}
if (!strlen($imgConf['titleText']) && !is_array($imgConf['titleText.'])) {
$imgConf['titleText'] = $conf['titleText'];
$imgConf['titleText.'] = $conf['titleText.'];
}
if (!strlen($imgConf['longdescURL']) && !is_array($imgConf['longdescURL.'])) {
$imgConf['longdescURL'] = $conf['longdescURL'];
$imgConf['longdescURL.'] = $conf['longdescURL.'];
}
$altP = $this->cObj->getAltParam($imgConf);
if ($equalHeight) {
(1-1/1)
Loading...