From: Anupama of Greenstone Team |
Date: Mon Nov 17 19:54:06 2008 |
Subject: [greenstone-users] large image on homepage |
In reply to: 491C8BD8-4080600-sdb-org |
Your original question:
> I have a problem I cannot resolve. They have a wide (very) screen
and > a smaller, more ordinary one. The header image they want is meant to
> cover the full width of the screen, but obviously while that works
for > the smaller screen it does not for the larger one.
> Where - and how - do I control the replacement for gsdlhead.gif to
> achieve this flexibility? I thought I might be able to do it from the
> style.css but to no avail, at least so far.
Could you tell me the approximate dimensions of the image as you wish to
display it both on the narrower and the wider screen? Then I can try it
out here and tell you how much luck (or not) I have. I am hopeful that
perhaps we can still figure this out using CSS coupled with a liquid layout.
Thanks,
Anupama
Julian Fox wrote:
> Thanks Anupa,
> The problem arose in Brazil where I was helping a team (and still am but
> now from Rome by email!), and I simply could not get the image to size
> properly with respect to the rest of the normal Greenstone home page -
> normal in the sense that I had already changed the chalk image and
> pulled off the gsdlhead image and replaced it with this wider one. But
> on different screens it came out differently with respect to the rest of
> the page. It's probably not so much a Greenstone issue as such but
> rather my lack of knowledge of how to handle images. Still and all,
> it's not so easy to replace gsdlhead with anything but a smaller image.
> This is the second time I've had the problem to be truthful. I've
> looked through the relevant help pages you mentioned but didn't really
> find direction there for a solution. I possibly need to sit down face to
> face with someone smarter than me in this business and get advice that way.
> Thanks for your help,
> Julian
>
> Anupama of Greenstone Team wrote:
>> Hello Julian,
>> About your earlier question:
>>> Where - and how - do I control the replacement for gsdlhead.gif to
>>> achieve this flexibility? I thought I might be able to do it from the
>>> style.css but to no avail, at least so far.
>>
>> Can you please take a look at the following Greenstone tutorial called
>> "Customization: macro files and stylesheets", which discusses how to
>> work go about adjusting the gsdlhead.gif:
>> http://wiki.greenstone.org/wiki/gsdoc/tutorial/en/using\_macro\_files.htm
>>
>> I think the steps of that tutorial page which may be most relevant to
>> you would be steps 9-13, but do have a look through the rest page in
>> case there is anything else of interest.
>>
>> Best of luck,
>> Anupama
>>
>>
>
>>> A question if I may,
>>> Apart from the fact that I am trying to explain things to a local
>>> group in Sao Paulo in a language I have not yet mastered (!), I
have >>> a problem I cannot resolve. They have a wide (very) screen and
a >>> smaller, more ordinary one. The header image they want is meant to
>>> cover the full width of the screen, but obviously while that works
>>> for the smaller screen it does not for the larger one.
>>> Where - and how - do I control the replacement for gsdlhead.gif to
>>> achieve this flexibility? I thought I might be able to do it from
>>> the style.css but to no avail, at least so far.
>>>
>>> I'm also still looking for the possibility of a group in this
>>> country who uses Greenstone. One kind person responded to my last
>>> query but has suggested there are alternatives to Greenstone. For
>>> any number of reasons I wish to stick with Greenstone but would
>>> prefer to leave them with some help and epxerience in Portuguese.
>>> Julian