It is currently May 6th, 2024, 9:40 pm

Displaying images with filelist plugin?

Get help with creating, editing & fixing problems with skins
FreakQuency
Posts: 33
Joined: May 4th, 2010, 4:38 pm

Displaying images with filelist plugin?

Post by FreakQuency »

I am trying to show the images in a folder with using filelist plugin.but strangely i couldnt manage to do it.I can display the file names but cant display the file itself.Maybe its because the folder icon support built-in the plugin but dont know what to do.The code is as follows

Code: Select all

[Titles1]
Measure=Plugin
Plugin=Plugins\FileListPlugin.dll
Field=FileName
FolderIndex=0
FileIndex=1
Group=Titles

[ShowTitle1]
Meter=image
ImageName=[Titles1].jpg
DynamicVariables=1
I also used
...
measurename=titles1
imagename=%1.png
...

but couldnt succeeded.Is there any way to do it with or without filelist plugin.thanks in advance..
dragonmage
Developer
Posts: 1270
Joined: April 3rd, 2009, 4:31 am
Location: NC, US

Re: Displaying images with filelist plugin?

Post by dragonmage »

Have you tried

ImageName=[Titles1].png
DynamicVariables=1

?
FreakQuency
Posts: 33
Joined: May 4th, 2010, 4:38 pm

Re: Displaying images with filelist plugin?

Post by FreakQuency »

Thanks I tried it now and actually it worked :) but the majority of the files in pictures folder is in .jpg format and still no luck in displaying them.
User avatar
Chewtoy
Moderator
Posts: 995
Joined: June 10th, 2009, 12:44 pm
Location: Sweden

Re: Displaying images with filelist plugin?

Post by Chewtoy »

Why are you using FileListPlugin for this when you can do it say, QuotePlugin and define in the measure what types it should search for?
http://rainmeter.net/cms/Plugins-Quote_beta
I don't think, therefore I'm not.
FreakQuency
Posts: 33
Joined: May 4th, 2010, 4:38 pm

Re: Displaying images with filelist plugin?

Post by FreakQuency »

yep i know but i want to display first 8 images in a specified folder and shift through the folder by a mouse click action displaying the next 8.If i use quote plugin i can only show 8 random photos from a folder by using 8 different measures to randomize each one(which doesnt ensure uniqueness):/I actually tried that even if it doesnt do what i need and it consumed a lot of cpu resource (%27-45).

So i need another solution for that:)It seemed that the filelist plugin is the perfect fit but i am stuck now.