Page 1 of 1
Yowindow Full Screen Problem!
Posted: Tue Apr 22, 2014 10:58 am
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¤t_weather_icao=LPMA¤t_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©right_bar=false"/>
<a href="http://yowindow.com?client=widget&link=stub"
>Desktop weather</a>
</object>
Yowindow Image on my website:
I need help to solve this problem!
Thank you and have a nice day.
Re: Yowindow Full Screen Problem!
Posted: Tue Apr 22, 2014 11:51 am
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:
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: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!
Re: Yowindow Full Screen Problem!
Posted: Tue Apr 22, 2014 12:15 pm
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: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.
Re: Yowindow Full Screen Problem!
Posted: Thu Apr 24, 2014 1:46 pm
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: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.