Feature #647

Large TV-Logos

Added by Lloyd Smart almost 11 years ago. Updated over 10 years ago.

User Interface
Target version:
Start date:
Due date:
% Done:


Estimated time:



I've recently set up tvheadend for a friend and we're loving it so far. One quick question, though. I've started inputting URLs for TV Logos from, and thought I'd use the high-res versions where available. They just look much better. Problem is, when I open up any kind of info window in the tvheadend webinterface now, where a hi-res logo has been used, the logo comes up really large and you have to either scroll or resize the window to see the description and options.

Is there any way to define a size for logos to appear in the webinterface windows, regardless of the actual dimensions of the image? I.e. is there a way to scale them down automatically?

I've attached a screenshot of what I'm talking about.



tvh-logo.PNG (109 KB) tvh-logo.PNG Lloyd Smart, 2011-08-16 11:54
large-tv-logos.patch (423 Bytes) large-tv-logos.patch Anonymous, 2011-10-30 12:19
large-tv-logos.patch (424 Bytes) large-tv-logos.patch Anonymous, 2011-10-31 12:05

Associated revisions

Revision a605371c (diff)
Added by Andreas Smas over 10 years ago

Limit tv logo icon size

Patch by Mark Wormgoo

Fixes #647

Revision fdc743fd (diff)
Added by Andreas Smas over 10 years ago

Fix incorrect CSS (I picked the wrong patch :(

refs #647



Updated by Anonymous over 10 years ago

Simple css patch attached.


Updated by Hein Rigolo over 10 years ago

  • % Done changed from 0 to 30


and where does the resizing happen? in the browser on the client side? or on the server side?



Updated by Anonymous over 10 years ago

This is all browser-side. The icon URL used is an external one ( So, tvheadend just supplies the image URL to the browser. The browser then fetches the image from In this case, it will fetch the large picture, and display it small (within the 64x64 square).

I'm not entirely sure what the best size is for the icon. Having googled this a bit further, it seems that 132x99 is the normal size for TV icons. Updated the attached patch.


Updated by Andreas Smas over 10 years ago

  • Status changed from New to Fixed
  • % Done changed from 30 to 100

Updated by Anonymous over 10 years ago

Sorry, you applied the wrong patch. The correct size for the icons is 132x99 px. Can you make it this (as in the second patch, uploaded on Oct 31):

.x-epg-chicon {
float: right;
margin: 5px;
max-width: 132px;
max-height: 99px;


Updated by Anonymous over 10 years ago

Looks much better! Thanks!


Updated by Simon Gibson over 10 years ago

Can you advise where I can find ext.css in Ubuntu so I can apply the patch? I doesn't seem show up if I search for it.


Updated by Hein Rigolo over 10 years ago

You cannot fin dit because it get's compiled into the tvheadend binary. So if you want to make change you need to get the source of tvheadend, change the file (src/webui/static/app/ext.css) and the compile your own binary. Why would you like to change it?


Also available in: Atom PDF