Yowindow Full Screen Problem!

Any questions? Any answers?
Post Reply
sunderlandz
Posts: 2
Joined: Tue Apr 22, 2014 10:24 am
Name: José Patrício

Yowindow Full Screen Problem!

Post by sunderlandz »

Hello ,

Before I begin, I want to congratulate you for the excellent program.

I've created a landscape through picture (2464x1800) from my village and sent it to my website, but the problem is that the image does not appear
in full screen. And I have the unlimited version.

This is the script that I'm using:

Code: Select all

<object type="application/x-shockwave-flash" data="http://www.mywebsite.com/weather/yowidget.swf" width="100%" height="300">
<param name="movie" value="http://www.mywebsite.com/weather/yowidget.swf"/>
<param name="allowfullscreen" value="true"/>
<param name="wmode" value="opaque"/>
<param name="bgcolor" value=""/>
<param name="flashvars"
value="location_id=gn:2267827&location_name=Machico&current_weather_icao=LPMA&current_weather_url=http://www.mywebsite
.com/weather/uploadCU/yowindow.xml&landscape=http://www.mywebsitw.com/weather/landscapes/file3/picture1.ywl&time_format=
24&unit_system=metric&lang=pt-pt&background=#FFFFFF&copyright_bar=false"/>
<a href="http://yowindow.com?client=widget&link=stub"
>Desktop weather</a>
</object>
Yowindow Image on my website:
34rvrsw.jpg.png
I need help to solve this problem!

Thank you and have a nice day.
Last edited by ikarus1969 on Tue Apr 22, 2014 11:39 am, edited 2 times in total.
Reason: uploaded the screenshot to the forum so that it can be automatically resized if to large on the one hand and that it can be available in the future on the other hand.
ikarus1969
Posts: 1645
Joined: Wed Nov 18, 2009 9:58 am
Location: Vienna, Austria

Re: Yowindow Full Screen Problem!

Post by ikarus1969 »

Hi José!

The reason why there are white bars on the left and right of your widget is the following: YoWindow takes the absolute height (300px) and calulates a height in a way so that the picture is not distorted (stretched in this case).

If YoWindow would work that way your picture will look similar to that:
34rvrsw distorted.jpg
For your picture the original width & height is: 2464x1800. A height of 300 results in a width of 411 when resized proportinally.

There are several things you can do:
  • change the background-color of the widget to the color that used on the page around the widget. Adapt the code where:

    Code: Select all

    <param name="bgcolor" value="" />
    I think that would look a little bit more nice.
  • take a foto which fits to the space you want for the widget on your page. That's 300pixels in height and [?] pixels in width. Or any multiple of that so that the foto is not distorted.
Explanations too technically? Don't hesitate to ask!
»Man is impressive. In a universe full of untold secrets he has invented boredom.«
sunderlandz
Posts: 2
Joined: Tue Apr 22, 2014 10:24 am
Name: José Patrício

Re: Yowindow Full Screen Problem!

Post by sunderlandz »

ikarus1969 wrote:Hi José!

The reason why there are white bars on the left and right of your widget is the following: YoWindow takes the absolute height (300px) and calulates a height in a way so that the picture is not distorted (stretched in this case).

If YoWindow would work that way your picture will look similar to that:
34rvrsw distorted.jpg
For your picture the original width & height is: 2464x1800. A height of 300 results in a width of 411 when resized proportinally.

There are several things you can do:
  • change the background-color of the widget to the color that used on the page around the widget. Adapt the code where:

    Code: Select all

    <param name="bgcolor" value="" />
    I think that would look a little bit more nice.
  • take a foto which fits to the space you want for the widget on your page. That's 300pixels in height and [?] pixels in width. Or any multiple of that so that the foto is not distorted.
Explanations too technically? Don't hesitate to ask!

Thanks for your quick reply.

I've tried several ways, but I'm not succeeding. It's possible you help me solve this problem? I can send you the original image. I am a newbie and I need technical help, if possible.

Regards.
ikarus1969
Posts: 1645
Joined: Wed Nov 18, 2009 9:58 am
Location: Vienna, Austria

Re: Yowindow Full Screen Problem!

Post by ikarus1969 »

sunderlandz wrote:
ikarus1969 wrote:Hi José!

The reason why there are white bars on the left and right of your widget is the following: YoWindow takes the absolute height (300px) and calulates a height in a way so that the picture is not distorted (stretched in this case).

If YoWindow would work that way your picture will look similar to that:
34rvrsw distorted.jpg
For your picture the original width & height is: 2464x1800. A height of 300 results in a width of 411 when resized proportinally.

There are several things you can do:
  • change the background-color of the widget to the color that used on the page around the widget. Adapt the code where:

    Code: Select all

    <param name="bgcolor" value="" />
    I think that would look a little bit more nice.
  • take a foto which fits to the space you want for the widget on your page. That's 300pixels in height and [?] pixels in width. Or any multiple of that so that the foto is not distorted.
Explanations too technically? Don't hesitate to ask!

Thanks for your quick reply.

I've tried several ways, but I'm not succeeding. It's possible you help me solve this problem? I can send you the original image. I am a newbie and I need technical help, if possible.

Regards.
Of course i (we) can help, but please can you first tell me either what you have have tried so far ("I've tried several ways") or which part of my explanations are not understandable to you? Thank you!

Btw: everything is alright with your picture.
»Man is impressive. In a universe full of untold secrets he has invented boredom.«
Post Reply