Place a banner on OPAC header

This solution will not work since Koha version 20.05. Try this method for place banner on OPAC header on the latest version of Koha.


You can create a banner for Koha OPAC easily with the help of an online service, http://www.bannerfans.com/banner_maker.php

Using this tool you can create a banner from existing picture or start from scratch. Lot of beautiful fonts are available. You can also adjust the size of the banner. 

How to add banner?
Put the image in /usr/share/koha/opac/htdocs ,
apply following commands in a terminal.


sudo su

mv header.jpg /usr/share/koha/opac/htdocs 

Get the link of the image.

Open Koha and go to System Preferences > OPAC > opacheader
Apply the HTML code to display header image,

<img src="header.jpg" style="width:100%;height:100%;">

Save the changes.

26 comments:

  1. i have install koha by ur dvd. when i put any html code in administration>global sys>opec then its not work.

    ReplyDelete
  2. Check following link for correct html query

    http://www.quackit.com/html_5/tags/html_img_tag.cfm

    ReplyDelete
  3. I cannot copy image to /usr/share/koha/opac/htdocs. when I try, following message will come. Please help me

    ReplyDelete
  4. I have tried as instructed but I have not succeeded to put image to /usr/share/koha/opac/htdocs. Please, help

    ReplyDelete
  5. Dear Vimal Kumar ,i read all the above comments and every one have the same problem as i have,plz if u dont mind tell complete paths step wise and and also tell how to make opac search area colorful,and if u can make a video for this process and share ,we all will be gratful.Thanks Masaud

    ReplyDelete
    Replies
    1. I successfully added image by following the given step. If you did not succeed in adding image, change the permission in adding image.. visit this link.. askubuntu.com/questions/150028/you-are-not the owner-message-when-trying-to-access-a-folder

      Delete
  6. its simple kindly Open Koha and go to System Preferences > OPAC > opacheader then type the html codes for the image but point it to an image that is online example http://www.ruc.ac.ke/.....baner then you save your change

    ReplyDelete
  7. Thank u it is work. But it is not work in search results page.

    ReplyDelete
  8. Thank u is is work. But it is not work in search results page.

    ReplyDelete
  9. It is work. But it is not work in search results page

    ReplyDelete
  10. Dear Mr. V Kumar, I have Installed Koha with your customized dvd. Its really worthy. Congratulations for your hard work and success. I followed the way to change the header and logo.. successfully. I need your help to add new arrivals in opacmainuserblock... Please...
    Regards

    ReplyDelete
  11. Dear Mr. V Kumar, I have Installed Koha with your customized dvd. Its really worthy. Congratulations for your hard work and success. I followed the way to change the header and logo.. successfully. I need your help to add new arrivals in opacmainuserblock... Please...
    Regards

    ReplyDelete
  12. Dear Vimal Sir,
    The header is displaying on the home page only but not in search page. Please help me what I have gone wrong.

    ReplyDelete
  13. Sir, this post is to difficult to upload banner. kindlt provide simple method to upload banner.

    ReplyDelete
    Replies
    1. May I know what type of difficulty you found?

      Delete
  14. Thanks Vimal,
    It works very perfect
    and have updated the header for Koha at my Institution!!!!!!!

    ReplyDelete
  15. Thanks. I follow your instruction and be successful.

    ReplyDelete
  16. what will be the link of an image saved in /user/share/koha/opac/htdocs?

    ReplyDelete
    Replies
    1. Images save in MySQL Database, not in folder.
      "patronimage" table:
      http://schema.koha-community.org/tables/patronimage.html

      Delete
  17. sir...it is working....thankyou very much

    ReplyDelete
  18. https://askubuntu.com/questions/303796/permission-denied-to-copy-or-paste-files-in-the-system-folders
    kindly check this link those for all who denied permission

    ReplyDelete
    Replies
    1. Login from Terminal as Root user. Then tried.
      sudo su
      Then apply command to copy the header file to the specific folder.

      Delete
  19. Sir there is a mistake
    your command is mv header.jpg /user/share/koha/opac/htdocs but i think user is not right .The right message is to mv header.jpg /usr/share/koha/opac/htdocs

    ReplyDelete