It is currently April 27th, 2024, 9:39 am

Help with wallpaper.ini/miniature picture viewer

Get help with creating, editing & fixing problems with skins
User avatar
Rivenji
Posts: 2
Joined: December 21st, 2011, 10:46 am

Help with wallpaper.ini/miniature picture viewer

Post by Rivenji »

Hi,

I can't figure out how to display an image in the picture viewer so I tried tweaking the code...

(and it malfunctioned)

Basically, I want to display one image. Here's the path of the image:

C:\Users\lalala\Desktop\Games\O2Jam tunes\GIF\spengbab\tumblr_lviasyOF881qc1u27o9_500.jpg

And here's the (destroyed) code:

Code: Select all

[Rainmeter]
Author=r3ginald
Update=10000


;Metadata added by RainBrowser
;http://rainmeter.net/RainWiki/index.php?title=Rainmeter_101#.5BMetadata.5D

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

;End of added Metadata

[Variables]
FontName=Trebuchet MS
BlackFont=0,0,0,255
WhiteFont=255,255,255
BarColor1=140,140,140,200
BarColor2=20,20,20,255
ImagePath=C:\Users\lalala\Desktop\Games\O2Jam tunes\GIF\spengbab\tumblr_lviasyOF881qc1u27o9_500.jpg
Define Subfolders (1 = Yes, 0 = NO)
SubFolders=1
FileFilter=*.jpg;*.jpeg;*.png;*.bmp



[Filter1]
Meter=IMAGE
X=0
Y=0
H=133
W=200

;-----------------

[Line1]
Meter=IMAGE
X=190
Y=10
H=113
W=1
AntiAlias=1


[Line2]
Meter=IMAGE
SolidColor=#BarColor1#
X=10
Y=123
H=1
W=180
AntiAlias=1

[Line3]
Meter=IMAGE
SolidColor=#BarColor1#
X=10
Y=10
H=113
W=1
AntiAlias=1

[Line4]
Meter=IMAGE
X=10
Y=10
H=1
W=180
AntiAlias=1

[Filter2]
Meter=IMAGE
X=11
Y=11
H=112
W=179


;-------------------

;-------------------

[Picture]
Measure=Plugin
Plugin=Plugins\QuotePlugin.dll
PathName=#ImagePath#
FileFilter=#FileFilter#
Subfolders=#SubFolders#

;-------------------

[Slideshow]
MeasureName=Picture
Meter=IMAGE
SolidColor=0,0,0,0
X=11
Y=11
H=112
W=179
Hidden=0
LeftMouseupAction=!Execute  [!WriteKeyValue Variables PictureFolder "C:\Users\lalala\Desktop\Games\O2Jam tunes\GIF\spengbab"][!RainmeterRefresh]

Thanks in advance.

Regards,
Rivenji
User avatar
smurfier
Moderator
Posts: 1931
Joined: January 29th, 2010, 1:43 am
Location: Willmar, MN

Re: Help with wallpaper.ini/miniature picture viewer

Post by smurfier »

Code: Select all

[Rainmeter]
Author=r3ginald
Update=10000

[Metadata]
Name=
Description=
Instructions=
Version=
License=

[Variables]
FontName=Trebuchet MS
BlackFont=0,0,0,255
WhiteFont=255,255,255
BarColor1=140,140,140,200
BarColor2=20,20,20,255
ImagePath=C:\Users\lalala\Desktop\Games\O2Jam tunes\GIF\spengbab\tumblr_lviasyOF881qc1u27o9_500.jpg
;Define Subfolders (1 = Yes, 0 = NO)
SubFolders=1
FileFilter=*.jpg;*.jpeg;*.png;*.bmp

[Filter1]
Meter=IMAGE
X=0
Y=0
H=133
W=200

;-----------------

[Line1]
Meter=IMAGE
X=190
Y=10
H=113
W=1
AntiAlias=1

[Line2]
Meter=IMAGE
SolidColor=#BarColor1#
X=10
Y=123
H=1
W=180
AntiAlias=1

[Line3]
Meter=IMAGE
SolidColor=#BarColor1#
X=10
Y=10
H=113
W=1
AntiAlias=1

[Line4]
Meter=IMAGE
X=10
Y=10
H=1
W=180
AntiAlias=1

[Filter2]
Meter=IMAGE
X=11
Y=11
H=112
W=179

;-------------------

;-------------------

;[Picture]
;Measure=Plugin
;Plugin=Plugins\QuotePlugin.dll
;PathName=#ImagePath#
;FileFilter=#FileFilter#
;Subfolders=#SubFolders#

;-------------------

[Slideshow]
;MeasureName=Picture
ImageName=#ImagePath#
Meter=IMAGE
SolidColor=0,0,0,0
X=11
Y=11
H=112
W=179
Hidden=0
LeftMouseupAction=!Execute  [!WriteKeyValue Variables PictureFolder "C:\Users\lalala\Desktop\Games\O2Jam tunes\GIF\spengbab"][!RainmeterRefresh]
GitHub | DeviantArt | Tumblr
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
User avatar
Rivenji
Posts: 2
Joined: December 21st, 2011, 10:46 am

Re: Help with wallpaper.ini/miniature picture viewer

Post by Rivenji »

Thanks a lot! It works now.