Image is small
Image is small
I have this problem. Image on my website is very small. I did everything as instructed, but the picture came out much less.Just as in the attached file.
- Attachments
-
- pogoda.jpg (195.09 KiB) Viewed 6707 times
-
- Posts: 1645
- Joined: Wed Nov 18, 2009 9:58 am
- Location: Vienna, Austria
Re: Image is small
Hi Yanek!
Please don't let me be misunderstood but just lean back and reflect: would you yourself know what to do alone with the information in your post? I don't (i see a picture and know it's too small for you. And that's it.)
so please provide some more things:
Link to your website?
Or sourcecode you have used on your site?
What have you done exactly? Which instructions did you follow?
What's the size you like to have?
Please don't let me be misunderstood but just lean back and reflect: would you yourself know what to do alone with the information in your post? I don't (i see a picture and know it's too small for you. And that's it.)
so please provide some more things:
Link to your website?
Or sourcecode you have used on your site?
What have you done exactly? Which instructions did you follow?
What's the size you like to have?
»Man is impressive. In a universe full of untold secrets he has invented boredom.«
Re: Image is small
OOk.
This is my website
http://cms.wkrasniku.pl/
This is sourcecode in my site
I would like to size the width of the window or 240 px
This is my website
http://cms.wkrasniku.pl/
This is sourcecode in my site
Code: Select all
<span>
<div style="width: 220px; height: 150px;">
<object data="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" type="application/x-shockwave-flash" height="150" width="220">
<param name="data" 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="src" value="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" />
<param name="flashvars" value="location_id=767623&time_format=24&lang=pl&unit_system=metric&landscape=http://cms.wkrasniku.pl/landscapes/r_rynek0003/r_rynek0003.ywl" />
<param name="movie" value="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" /><a href="http://yowindow.com?client=widget&link=stub" style="width: 220px; height: 150px; display: block; text-indent: -50000px; font-size: 0px; background: #DDF url(http://yowindow.com/img/logo.png) no-repeat scroll 50% 50%;">Desktop weather</a>
</object>
</div>
</span>
-
- Posts: 1645
- Joined: Wed Nov 18, 2009 9:58 am
- Location: Vienna, Austria
Re: Image is small
Thanks for the additional info!
In the code for the widget there are several "width"s set to 220. Please try to change it to 240 (as you've said you want the width to be 240) and look if that helps.
Please tell us if you succeed (or if setting the new width was not enough)!
In the code for the widget there are several "width"s set to 220. Please try to change it to 240 (as you've said you want the width to be 240) and look if that helps.
Please tell us if you succeed (or if setting the new width was not enough)!
»Man is impressive. In a universe full of untold secrets he has invented boredom.«
-
- Posts: 1645
- Joined: Wed Nov 18, 2009 9:58 am
- Location: Vienna, Austria
Re: Image is small
With that picture you always will have bars on the left and on the right of the widget.
YoWindow centers the picture within the box you define (by width and height) to not distort it.
Reason for the bars: your picture has a different relation than you have defined for the widget:
Widget: 220x150 = 1,466666
Picture (resized by YoWindow): 145x97 = 1,495
YoWindow centers the picture within the box you define (by width and height) to not distort it.
Reason for the bars: your picture has a different relation than you have defined for the widget:
Widget: 220x150 = 1,466666
Picture (resized by YoWindow): 145x97 = 1,495
»Man is impressive. In a universe full of untold secrets he has invented boredom.«
-
- Posts: 1645
- Joined: Wed Nov 18, 2009 9:58 am
- Location: Vienna, Austria
Re: Image is small
No.Yanek wrote:Is this a problem converting png to the swf?
As i said it's the relation between width and height of the picture and that YoWindow does not stretch it to fill the container you have defined to not distort it.
»Man is impressive. In a universe full of untold secrets he has invented boredom.«
- par
- Posts: 8647
- Joined: Mon Sep 21, 2009 11:56 am
- Name: Pasha
- Location: Saint-Petersburg, Russia
- Contact:
Re: Image is small
Here is a little tip.
If you want YoWindow to stretch the landscape horizontally, try to shrink picture height.
Cut 1/4 picture at the top, where the sky is.
If you want YoWindow to stretch the landscape horizontally, try to shrink picture height.
Cut 1/4 picture at the top, where the sky is.
Re: Image is small
It worked! Thank you very much.par wrote:Here is a little tip.
If you want YoWindow to stretch the landscape horizontally, try to shrink picture height.
Cut 1/4 picture at the top, where the sky is.