[Koha] Opac Header Image

Ashok Francis ashokfrancis.tgs at gmail.com
Wed Oct 11 17:41:46 NZDT 2017


THank you so much Eric Phetteplace. I have corrected as per your
suggestion. It is working great. Thank you so much for your help.

Kind Regards,
Ashok Francis
Librarian,
New Delhi

On Tue, Sep 5, 2017 at 10:40 PM, Eric Phetteplace <ephetteplace at cca.edu>
wrote:

> Hi Ashok,
>
> Without actually looking at your catalog site, it's tough to tell. It's
> helpful to send along a link, if possible. My guess is that the image URL
> on your home page is correct but it breaks when you go to a search. That
> blog post is very flawed in that it recommends a *relative* URL (one
> which doesn't begin with a "/"):
>
> <img src="header.jpg" style="width:100%;height:100%;">
>
> references the path /header.jpg in the root of your htdocs folder on your
> home page, but references a different /cgi-bin/koha/header.jpg when you're
> on the search page (/cgi-bin/koha/opac-search.pl). You need to make that
> URL absolute by prepending a forward slash:
>
> <img src="*/*header.jpg" style="width:100%;height:100%;">
>
> That should fix your issue.
>
> Best,
>
> ERIC PHETTEPLACE
>
> Systems Librarian
>
>
> libraries.cca.edu | vault.cca.edu | 510.594.3660
>
> 5212 Broadway, Oakland, CA 94618
> <https://maps.google.com/?q=5212+Broadway,+Oakland,+CA+94618&entry=gmail&source=g>
>
> 1111 8th St., San Francisco, CA
> <https://maps.google.com/?q=1111+8th+St.,+San+Francisco,+CA%C2%A094107&entry=gmail&source=g>
> 94107
> <https://maps.google.com/?q=1111+8th+St.,+San+Francisco,+CA%C2%A094107&entry=gmail&source=g>
>
> Preferred Pronoun(s): he/him
>
> :(){ :|: & };:
>
> On Mon, Sep 4, 2017 at 3:05 AM, Ashok Francis <ashokfrancis.tgs at gmail.com>
> wrote:
>
>> Dear All,
>>
>> I have added header image in opac. It is showing in homepage only. But
>> when
>> I search catalogue, the header image is not showing. Can anyone please
>> help
>> me what I have to do?
>>
>> Here is the link that I followed
>> http://kohageek.blogspot.in/search/label/banner
>> <http://kohageek.blogspot.in/search/label/banner>
>>
>> Kind Regards,
>> W. Ashok Francis,
>> Librarian, New Delhi.
>> _______________________________________________
>> Koha mailing list  http://koha-community.org
>> Koha at lists.katipo.co.nz
>> https://lists.katipo.co.nz/mailman/listinfo/koha
>>
>
>


More information about the Koha mailing list