Home arrow Forum

Remository Forum

 


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
  | | Sorry, you do not currently have permission to write here.

      Topics Author Date
    thread link
RSS Icon
cornelp 2006/11/25 14:05
    thread link
thread link Re:RSS Icon
cornelp 2006/11/26 13:51
    thread link
thread linkthread link Re:RSS Icon
admin 2006/11/26 18:07
    thread link
thread linkthread linkthread link Re:RSS Icon
cornelp 2006/11/27 17:07
    thread link
thread linkthread linkthread linkthread link Re:RSS Icon
admin 2006/11/28 15:59
    thread link
thread link Re:RSS Icon
everval 2006/12/31 08:37
    thread link
thread linkthread link Re:RSS Icon
admin 2007/01/03 15:36
    thread link
thread linkthread linkthread link Re:RSS Icon
webharvest 2007/07/17 19:16

Menu

Budding author?

Could you write about software?  Packt Publishing is looking for authors for its new series of Beginners' Guides.  Take a look at their web site to find out more.

Login Form

Username

Password

Remember me
Password Reminder
No account yet?
Create one

Who is Online

Remository welcomes guests and registered users.

We have 29 guest online