It is currently May 3rd, 2024, 9:24 pm

Slideshow image... resize auto background

Get help with creating, editing & fixing problems with skins
hispanico

Slideshow image... resize auto background

Post by hispanico »

I test this example:

Code: Select all

[Rainmeter]
Update=1000
DynamicWindowSize=1

[Variables]
PathWin7=%HOMEDRIVE%%HOMEPATH%\Pictures\
PathXP=%HOMEDRIVE%%HOMEPATH%\My Documents\My Pictures\

[MeterBackground]
Meter=Image
ImageName=#CURRENTPATH#Background.jpg
W=200
H=200
GreyScale=1
ImageTint=171,54,3,150

[MeasureMyPictures]
Measure=Plugin
Plugin=Plugins\QuotePlugin.dll
PathName=#PathWin7#
Subfolders=1
FileFilter=*.jpg;*.gif;*.bmp;*.png
UpdateDivider=10

[MeterShowPicture]
Meter=Image
MeasureName=MeasureMyPictures
X=25
Y=25
W=150
H=150
PreserveAspectRatio=1
LeftMouseUpAction=!RainmeterRefresh
...i understand the functions but i have a problem with Background.jpg, in which way i can resize it following images ?
Infact if i select my background image to use like a Frame.... if the image is more great or more little the background image not resize or scale in automatic.
So it's possible it and which function i can use or is not possible ??

Thank
Hispanico
dragonmage
Developer
Posts: 1270
Joined: April 3rd, 2009, 4:31 am
Location: NC, US

Re: Slideshow image... resize auto background

Post by dragonmage »

You can use

Code: Select all

[Rainmeter]
BackgroundMode=3
BackgroundMargins=10,10,10,10 ;(change the pixel values to suit your frame)
Background=Background.jpg
http://rainmeter.net/cms/Skins-Rainmeter
hispanico

Re: Slideshow image... resize auto background

Post by hispanico »

Yes fine it's solve and apply your suggestions but there is a function to avoid

Image

Image

space between photos and margins ??

Thank
Hispanico
dragonmage
Developer
Posts: 1270
Joined: April 3rd, 2009, 4:31 am
Location: NC, US

Re: Slideshow image... resize auto background

Post by dragonmage »

What are the dimensions of your background image? My suggestion would be to downsize your background image to what you can reasonably assume will be the smallest H and W of the images that will be displayed. Rainmeter can increase the size of your background indefinitely using this method but it will only "shrink" to the size of the original background image.
hispanico

Re: Slideshow image... resize auto background

Post by hispanico »

This is my test:
[Rainmeter]
Update=2500
DynamicWindowSize=1
BackgroundMode=3
BackgroundMargins=10,10,10,10 ;(change the pixel values to suit your frame)
DragMargins=-10,-10,-10,-10
Background=BgX.png

[Metadata]
Name=
Config=
Description=
Instructions=
Version=
Tags=
License=
Variant=
Preview=

;End of added Metadata

[Variables]
ImagePath=C:\Users\Marco\Pictures\

[MeterBackground]
Meter=Image
;ImageName=#CURRENTPATH#Background.png
W=550
H=550
GreyScale=1
;ImageTint=171,54,3,150
ImageTint=255, 255, 255, 255

[MeasureMyPictures]
Measure=Plugin
Plugin=Plugins\QuotePlugin.dll
PathName=C:\Users\Marco\Pictures\
Subfolders=1
FileFilter=*.jpg;*.gif;*.bmp;*.png
UpdateDivider=10

[MeterShowPicture]
Meter=Image
MeasureName=MeasureMyPictures
X=25
Y=25
W=550
H=550
PreserveAspectRatio=1
LeftMouseUpAction=!RainmeterRefresh
Thank for suggestions
Hispanico
You do not have the required permissions to view the files attached to this post.
dragonmage
Developer
Posts: 1270
Joined: April 3rd, 2009, 4:31 am
Location: NC, US

Re: Slideshow image... resize auto background

Post by dragonmage »

See how this works.
HispanicoSlideShow.rmskin
in the [Variables] section you can set the width of the fram and the path to the images.
You do not have the required permissions to view the files attached to this post.
hispanico

Re: Slideshow image... resize auto background

Post by hispanico »

dragonmage wrote:See how this works.
HispanicoSlideShow.rmskin
in the [Variables] section you can set the width of the fram and the path to the images.
...Wonderful...BIG BIG thank dragonmage

Hispanico