|Date||Thu, 21 Dec 2006 15:02:52 +1300|
|Subject||Re: [greenstone-users] How can I change the size of the createdcollection's icons?|
Unfortunately the width of the collection's icons in the home page are hard coded in Greenstone, and you will not be able to change it by only using macro files.
If you can recompile your Greenstone, here is the place you need to change.
In pageaction.cpp: go to the home_images function (about line 284) and you will find
collectionname = "<img width="150" src="" + iconurl + "" alt="" + alt + "">";
Change it to
collectionname = "<img width="300" src="" + iconurl + "" alt="" + alt + "">";
Recompile the library cgi executable and it should work.
For your reference, the version I am using is the latest Greenstone from CVS.
Hope this will help,
César López Molero wrote: