spacer
spacer search

SwissCenter

Search
spacer
Main Menu
Home
Documentation + FAQ
Screenshots
Downloads
Forums
Bug Tracking
History
Login
Username

Password

Remember me
?
No account yet?

Locations of visitors to this page

 
Home

SwissCenter Forums  


banners smaller??? - 2009/01/12 08:13 Hi,
After people were complaining the banners were too small on NTSC, I am now actually complaining they are too big
The problem I have (on my LCD screen) is that the banner is actually so big that it is sitting over the tv-series list (the first entry overlaps) and it is fully covering the season selection part.

Can someone provide info as to what parameters in the php code I can play with so that the banner overlay will get smaller? The picture size btw is just fine and I really like how the feature works!

Thanks.

Maureen
Player : Popcorn A-110
Server : Fedora Core 12, SwissCenter 1.22
Spec : Intel Dual-core E6750, 4GB RAM, 2.0TB storage.
  | | The administrator has disabled public write access.
Re: banners smaller??? - 2009/01/12 09:55 The banners are sized according to your screen resolution. Could you add some details about your setup to you signature (to save me having to search your previous posts), and specify which player and output resolution you are using. Players : Netgear EVA700 | Popcorn A-100 (091202) | Popcorn A-200 (100208)
Webserver : Simese v2.6.4 | Apache 2.2.14 | PHP v5.2.12 | MySQL v5.1.32
Server : Windows 7 Home Premium 64bit
Spec : Intel C2Q Q6600 - 4GB RAM - 3TB HDD
AV : Pioneer VSX-915 | Samsung LE40C650
  | | The administrator has disabled public write access.
Re: banners smaller??? - 2009/01/12 10:32 First, a stupid question (and off-topic). How can I make the signature field visible? I cannot select that option when I edit my profile.

I found that I can change the banner's relative size by adjusting the ow and oh parameters in the page.php.

ow = The desired X size of overlay
oh = The desired Y size of overlay

I will play with this when I am behind the TV screen to see if the results are ok. I tried it on the computer screen and I am able to change the size of the banner (which is indeed relative to the screen size), without changing the background size or picture size, so I think it should work the same way when I alter it under the 'NTSC' section.

Maureen
Player : Popcorn A-110
Server : Fedora Core 12, SwissCenter 1.22
Spec : Intel Dual-core E6750, 4GB RAM, 2.0TB storage.
  | | The administrator has disabled public write access.
Re: banners smaller??? - 2009/01/12 13:39 SLightly off topic as well but i am going ot ask anyway ... How do i use the series banners , has this been rolledin as i saw a thread on it but not sure if it has been added to core functionlity - thnx
rob
Player: EVA700
Server1:
Windows Vista PC
Server2:
Device: Buffalo LS Pro NAS
OS: Freelink Debian etch
Web Server: lighttpd 1.4.13
MYSql: v5.0.30-Debian_3
PHP: v5.2.0-8+etch11
  | | The administrator has disabled public write access.
Re: banners smaller??? - 2009/01/13 01:56 Maureen,

On the signature question:

In the user menu select profile. In the next screen there is a "Update Your Profile" link. (top right next to the Flickr picture)
In the next screen there is a "contact info" sheet which has also a "forum settings" tab where you can add a signature
QNAP TS-509 (1.6 MHz, 4 GB ) – Linux - PHP 5.2.11, MySQL 5.1.36 & Apache ??? – Swisscenter SVN [1405]
Custom PC (2.8 MHz, 4GB ) – Windows 7 Pro - PHP 5.2.9-1, MySQL 5.1.32 & Simese v2.5.10 - Swisscenter SVN [1376]
Synology CS407 (0.5 MHz, 128 ) – Linux - PHP 5.2.10, MySQL 5.1.34 & Apache
  | | The administrator has disabled public write access.
Re: banners smaller??? - 2009/01/13 03:17 Signature: I did add the signature to my profile, but the icon shows the field is not visible (the people icon with a red cross). I have no way to make this field visible and my signature is not added automatically.

For the banner size: it is working now fine on my tv by scaling them down more.

Maureen
Player : Popcorn A-110
Server : Fedora Core 12, SwissCenter 1.22
Spec : Intel Dual-core E6750, 4GB RAM, 2.0TB storage.
  | | The administrator has disabled public write access.
Re: banners smaller??? - 2009/01/14 07:19 Back to the banner issue... whilst I'm glad you've managed to adjust the size yourself I'm still concerned that SwissCenter is not sizing it correctly for you.

To help diagnose this could you post your Agent String which you can find on the Support Info page of the Config.

Is anyone else experiencing oversized banners?
Players : Netgear EVA700 | Popcorn A-100 (091202) | Popcorn A-200 (100208)
Webserver : Simese v2.6.4 | Apache 2.2.14 | PHP v5.2.12 | MySQL v5.1.32
Server : Windows 7 Home Premium 64bit
Spec : Intel C2Q Q6600 - 4GB RAM - 3TB HDD
AV : Pioneer VSX-915 | Samsung LE40C650
  | | The administrator has disabled public write access.
Re: banners smaller??? - 2009/01/14 15:58 Hi, thanks for helping me with this. What I changed are the following parameters in the last line that are now set to 65 (ow= and oh=).

{
if (is_screen_ntsc())
else
$background_image = '/thumb.php?type=jpg&stretch=Y&x='.convert_x(1000, SCREEN_COORDS).'&y='.convert_y(1000, SCREEN_COORDS).'&src='.rawurlencode('.'.$page_background).
'&overlay='.rawurlencode($banner).'&ox='.(convert_x(500, SCREEN_COORDS)-convert_y(65, SCREEN_COORDS)*5.4).'&oy='.convert_y(40, SCREEN_COORDS).
'&ow='.(convert_y(65, SCREEN_COORDS)*5.4).'&oh='.convert_y(65, SCREEN_COORDS);
}


That seemed to do the trick for me. When I change the same parameters for the BROWSER_SCREEN_COORDS I can see the banner size reducing on my computer screen.

The admin string you requested:

Syabas/01-17-081024-15-POP-403-091/15-POP Firefox/0.8.0+ (gaya1 TV Res1920x1280; Browser Res1100x656-32bits; Res1280x720; mac_addr=00:06:dc:43:90:8a)


Maureen
Player : Popcorn A-110
Server : Fedora Core 12, SwissCenter 1.22
Spec : Intel Dual-core E6750, 4GB RAM, 2.0TB storage.
  | | The administrator has disabled public write access.
Re: banners smaller??? - 2009/01/15 06:19 Your PCH is reporting a screen resolution of 1920x1280 but I suspect it is really 1920x1080?

SwissCenter uses the resolution reported in the agent string to resize things accordingly. I suspect the 1280 is being used in the banner size calculation which would make it too large. I will look into this and also maybe post the query to the PCH forum.
Players : Netgear EVA700 | Popcorn A-100 (091202) | Popcorn A-200 (100208)
Webserver : Simese v2.6.4 | Apache 2.2.14 | PHP v5.2.12 | MySQL v5.1.32
Server : Windows 7 Home Premium 64bit
Spec : Intel C2Q Q6600 - 4GB RAM - 3TB HDD
AV : Pioneer VSX-915 | Samsung LE40C650
  | | The administrator has disabled public write access.
Re: banners smaller??? - 2009/01/15 06:27 Yes, my TV screen is 1920x1080. The PCH-A110 is connected with HDMI to my tv. I see this will cause the scaling issue, so we need to look into why pch reports this odd size. On my pch the tvmode is set to 1080p/60, don't know if this is relevant.

Maureen
Player : Popcorn A-110
Server : Fedora Core 12, SwissCenter 1.22
Spec : Intel Dual-core E6750, 4GB RAM, 2.0TB storage.
  | | The administrator has disabled public write access.
Re: banners smaller??? - 2009/01/16 06:52 I have the same issue on my PCH, screen resolution set to 1920x1080/60hz and the TV banners are way too big and overlap the text below them.
  | | The administrator has disabled public write access.
Re: banners smaller??? - 2009/06/13 09:50 This issue is now fixed in the latest development release. Players : Netgear EVA700 | Popcorn A-100 (091202) | Popcorn A-200 (100208)
Webserver : Simese v2.6.4 | Apache 2.2.14 | PHP v5.2.12 | MySQL v5.1.32
Server : Windows 7 Home Premium 64bit
Spec : Intel C2Q Q6600 - 4GB RAM - 3TB HDD
AV : Pioneer VSX-915 | Samsung LE40C650
  | | The administrator has disabled public write access.
spacer
 

Screenshots

www.flickr.com
This is a Flickr badge showing public photos from swisscenter. Make your own badge here.


 

Mambo is Free Software released under the GNU/GPL License.
spacer