Picture problem on website widget

Feature discussion
Post Reply
alessandro
Posts: 9
Joined: Wed Dec 15, 2010 8:10 pm
Name: Alexandros
Location: Arachova Greece
Contact:

Picture problem on website widget

Post 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
User avatar
hermanz
Posts: 1892
Joined: Thu Apr 08, 2010 3:21 pm
Name: Herman
Location: Nieuwegein, Netherlands

Re: Picture problem on website widget

Post 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
(Wheather on an I(phone,pad,pod) or Android, YoWindow what else )
ikarus1969
Posts: 1645
Joined: Wed Nov 18, 2009 9:58 am
Location: Vienna, Austria

Re: Picture problem on website widget

Post 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"/>
»Man is impressive. In a universe full of untold secrets he has invented boredom.«
alessandro
Posts: 9
Joined: Wed Dec 15, 2010 8:10 pm
Name: Alexandros
Location: Arachova Greece
Contact:

Re: Picture problem on website widget

Post 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
Donatosjes
Posts: 4
Joined: Sat Jul 21, 2018 10:25 pm
Name: Donatosjes

Picture problem on website widget

Post by Donatosjes »

nice to have a pic tutorial for this thanks Hesh does that work just as good on finished wood?
KomlevaSV
Posts: 5
Joined: Fri Sep 21, 2018 7:39 am
Name: KomlevaS
Location: Russia
Contact:

Picture problem on website widget

Post by KomlevaSV »

На Вашем месте я бы обратился за помощью к модератору.
bablo
Posts: 3
Joined: Tue Nov 27, 2018 11:41 pm
Name: antob Viktorov

Re: Picture problem on website widget

Post 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:
Scorpjes
Posts: 4
Joined: Mon May 13, 2019 10:58 pm
Name: LordjesOS
Location: Algeria
Contact:

Picture problem on website widget

Post by Scorpjes »

was this bug ever fixed. We are running 6.9, and it seems that the website viewer widget still cannot display https sites
Post Reply