everval
Karma: 0
|
Re:RSS Icon - 2006/12/31 08:37
I realize that this topic is a little old but I'd like to post a solution in case anyone else comes across this (as I did). In remository.class.php, I changed the function RemositoryImageURL to:
| Code: |
$interface =& remositoryInterface::getInstance();
$element = '<img src="';
$element .= $interface->getCfg('live_site').'/components/com_remository/images/'.$imageName;
$element .= '" width="';
if ($imageName == "feed-icon-32x32.gif"«») $element .= 16;
else $element .= $width;
$element .= '" height="';
if ($imageName == "feed-icon-32x32.gif"«») $element .= 16;
else $element .= $height;
$element .= '" alt="';
$element .= $imageName;
$element .= '"/>';
return $element;
|
The only changes are two if and else statements. They change the height and width to 16 (you can make this whatever you want) only if the image is feed-icon-32x32.gif, which is the default rss icon. I'm more fluent in c++ than php, but this worked for me.
Post edited by: everval, at: 2006/12/31 03:40
Post edited by: everval, at: 2006/12/31 03:40
|