Page 1 of 1

Picture problem on website widget

Posted: Fri Dec 17, 2010 1:20 pm
by alessandro
Hello,

It's nice to have a picture with the silhouette of my town on on my website with local weather data.
You can see it here: http://www.meteoarachova.com

But there is a problem.Left and right at the picture there are two white columns that I can’t remove. Can you help me solve this???

Thans in advance,
Alexandros

Re: Picture problem on website widget

Posted: Fri Dec 17, 2010 2:14 pm
by hermanz
Hi Alexandros

You have to reduce the heigh of the picture. I mean the top. There is enough white.

Yowindow fills the heigh.

If you send me the original (png) than I will do it for you.
gr.
Herman :D

Re: Picture problem on website widget

Posted: Fri Dec 17, 2010 2:27 pm
by ikarus1969
The SWF-file is ok. The width and height is reduced so that the proportions are not the same like the original size.
Original: 1140x768
In the code: 621x359 so that two white stripes of width 44 on each side is depicted.

You can change the width-parameter of the widget from 621 to 533 which will cause the two white stripes to disappear.
change this line:

Code: Select all

<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" width="621" height="359">
to this:

Code: Select all

<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" width="533" height="359">

And please change the "movie"-parameter from your current value:

Code: Select all

<param name="movie" value="http://www.meteoarachova.com/yo_ARACHOVA3.swf"/>
to:

Code: Select all

<param name="movie" value="http://swf.yowindow.com/wimo/hpPal/hpPal.swf"/>

Re: Picture problem on website widget

Posted: Fri Dec 17, 2010 5:49 pm
by alessandro
Hello,
Thank you “both” for your advices because when I followed them I understood wich was the correct Aspect Ratio for the image.

Thanks in advance,
Alexandros

Picture problem on website widget

Posted: Wed Aug 08, 2018 3:21 pm
by Donatosjes
nice to have a pic tutorial for this thanks Hesh does that work just as good on finished wood?

Picture problem on website widget

Posted: Sat Sep 29, 2018 8:40 am
by KomlevaSV
На Вашем месте я бы обратился за помощью к модератору.

Re: Picture problem on website widget

Posted: Thu Nov 29, 2018 6:57 pm
by bablo
ikarus1969 wrote:
Fri Dec 17, 2010 2:27 pm
The SWF-file is ok. The width and height is reduced so that the proportions are not the same like the original size.
Original: 1140x768
In the code: 621x359 so that two white stripes of width 44 on each side is depicted.

You can change the width-parameter of the widget from 621 to 533 which will cause the two white stripes to disappear.
change this line:

Code: Select all

<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" width="621" height="359">
to this:

Code: Select all

<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" width="533" height="359">

And please change the "movie"-parameter idraulico pavia value:

Code: Select all

<param name="movie" value="http://www.meteoarachova.com/yo_ARACHOVA3.swf"/>
to:

Code: Select all

<param name="movie" value="http://swf.yowindow.com/wimo/hpPal/hpPal.swf"/>
dear ikarus1969, thanks for your suggestion, pieces of code are very useful :good: