Live Sky tutorial feedback

Feature discussion
User avatar
par
Posts: 7941
Joined: Mon Sep 21, 2009 11:56 am
Name: Pasha
Location: Saint-Petersburg, Russia
Contact:

Re: Live Sky tutorial feedback

Post by par » Fri Jul 09, 2010 6:40 pm

Hey, Alex!
Show us the .ywl file.
Have you put horizon-line properly?

The image is good!
Make sure you have added .ywl file inside YoWindow, but not .png
Get YoWindow weather app for your phone or tablet.

Image Image Image

chucky

Re: Live Sky tutorial feedback

Post by chucky » Sat Jul 10, 2010 12:43 pm

uff I've ever seen anything yet :(

alex

Re: Live Sky tutorial feedback

Post by alex » Sat Jul 10, 2010 3:16 pm

Perfect - it works now. I had to change the horizon and change the yowindow - ywl configuration, as you suggested.
Image1.jpg
Image1.jpg (32.03 KiB) Viewed 5514 times
My next question is - if I upload this to a remote host, can I get it to appear in the widget on my blog??

Alex

User avatar
par
Posts: 7941
Joined: Mon Sep 21, 2009 11:56 am
Name: Pasha
Location: Saint-Petersburg, Russia
Contact:

Re: Live Sky tutorial feedback

Post by par » Sat Jul 10, 2010 3:38 pm

Yes, but please wait a couple of days. I need time to prepare a tutorial and to watch the World Cup final.
Get YoWindow weather app for your phone or tablet.

Image Image Image

alex

Re: Live Sky tutorial feedback

Post by alex » Sat Jul 10, 2010 3:52 pm

BRILLIANT - thanks for all your help.

jmcmurry
Posts: 367
Joined: Tue Oct 13, 2009 11:09 am
Name: Jim
Location: Mauston, WI, USA
Contact:

Re: Live Sky tutorial feedback

Post by jmcmurry » Sat Jul 10, 2010 11:12 pm

Pasha,

Right after you mention the PhotoShop video in Step 2 of the tutorial, you could consider adding something like this for Gimp.

Removing Sky With Gimp

If the file is not a .png image, save it as one.
Click Layer-Transparency-Add Alpha Channel.
Select an area on the image to make transparent with one of the "select" tools.
Press the delete key on your computer and the area will go transparent.
Repeat until all of the sky is gone.
Save the image.

Tips:
If you're going to re-size the image, do that first.
You can select large areas of the sky with the rectangle select tool then fine tune with the others later.
Photos with at least half sky are the best.

- Jim

tph06784
Posts: 94
Joined: Sun Oct 25, 2009 3:52 pm

Re: Live Sky tutorial feedback

Post by tph06784 » Sun Jul 11, 2010 4:46 pm

I have gotten the widget to work. See here http://www.shermanctweather.com It'as a picture of a farm our town just bought to preserve as farmland.

alex

Re: Live Sky tutorial feedback

Post by alex » Mon Jul 12, 2010 10:52 pm

tph06784 wrote:I have gotten the widget to work. See here http://www.shermanctweather.com It'as a picture of a farm our town just bought to preserve as farmland.
Impressive ... but how?

tph06784
Posts: 94
Joined: Sun Oct 25, 2009 3:52 pm

Re: Live Sky tutorial feedback

Post by tph06784 » Tue Jul 13, 2010 3:18 am

I included a php file.
Here is the code for the file:

Code: Select all

<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" width="180" height="103">
    	<param name="movie" value="http://swf.yowindow.com/wimo/hpPal/hpPal.swf"/>
    	<param name="allowfullscreen" value="true"/>
    	<param name="wmode" value="opaque"/>
    	<param name="bgcolor" value="#FFFFFF"/>
    	<param name="flashvars" 
    	value="location_id=gn:4842937&current_weather_url=http://www.shermanctweather.com/yowindow.xml&landscape=http://www.shermanctweather.com/happyacres1a.ywl&time_format=12&unit_system=us&background=#FFFFFF&mini_temperature=false&mini_time=false&mini_locationBar=false&mini_momentBar=false&copyright_bar=false"
    />
        <a href="http://yowindow.com?client=widget&link=stub"
        style="width:640px;height:200px;display: block;text-indent: -50000px;font-size: 0px;-moz-background-clip:border;-moz-background-inline-policy:continuous;-moz-background-origin:padding;background:#DDF url(http://yowindow.com/img/logo.png) no-repeat scroll 50% 50%;"
        >Desktop weather</a>
    </object>

alex

Re: Live Sky tutorial feedback; widget worries

Post by alex » Tue Jul 13, 2010 7:36 pm

I am using Blogger, so I have written an iframe which points to the php code you sent. So far so good.
In fact, using your code exactly I managed to get a nice picture of your farm, with live sky, into my blog.

However, when I substitute my url for yours, my png doesn't appear, only the live sky (with the sun in a suspiciously wrong position). Any ideas what might be wrong? I'm assuming the original png (2880 pixels wide) and the original horizon setting (2000 px) will all be scaled down for the widget, and I have put in the height and width parameters I want, but maybe there's something else I'm doing wrong?

With many thanks for anticipated assistance

Alex

Post Reply