Can picture viewer be scripted to read image folders recursively?
Rate Topic:




-
Group:
Member
-
Posts:
65
-
Joined:
05-October 06
Posted 29 April 2007 - 08:06 AM
Since i have all my images and wallpapers arranged in seperate folders based on themes such as nature, beaches, abstarct, animals, cityscapes etc so i would like to place them under My pictures and have the picture viewer read and display the images in the subfolders as well as the root folder pointed out to on the flip side of the desklet.
Is this possible perhaps by changing a few lines of the script in the xml file?
Please let me know ifthis is at all possible and how
0
-
Group:
Member
-
Posts:
617
-
Joined:
02-May 05
Posted 30 April 2007 - 01:03 PM
All you need to do if you know any javascripting is change the following command
function LoadImage(direction)
this is the function that finds the next picture. Currently it doesn't do subdirectories, but could be changed I'm sure.
0
-
Group:
Member
-
Posts:
65
-
Joined:
05-October 06
Posted 30 April 2007 - 06:18 PM
pcm - who could help
I'm not into scripting
0
-
Group:
Member
-
Posts:
617
-
Joined:
02-May 05
Posted 03 May 2007 - 01:23 PM
I'll look into it.. next week. But anyone with javascripting experience could do it
0
-
Group:
Member
-
Posts:
617
-
Joined:
02-May 05
Posted 07 May 2007 - 03:42 AM
0
-
Group:
Member
-
Posts:
65
-
Joined:
05-October 06
Posted 10 May 2007 - 06:21 AM
thanks pcm that's super - it now displays image files recursively
thanks a million
0
-
Group:
Member
-
Posts:
65
-
Joined:
05-October 06
Posted 19 May 2007 - 05:45 PM
pcm
Just one question - can the script be changed marginally so that the slideshow starts from the slide last shown or stopped at by user? (or is that easier said than scripted?
0
-
Group:
Member
-
Posts:
193
-
Joined:
28-February 07
Posted 20 May 2007 - 10:53 AM
you could have tried photoshop album, i think it's free coz when i downloaded adobe acrobat reader it downloaded as well i dunno if it's coz iv got photoshop though.
0
-
Group:
Member
-
Posts:
617
-
Joined:
02-May 05
Posted 20 May 2007 - 12:50 PM
Yes it can be, but do you want it to start from the last stopped slideshow or from the last image?
0
-
Group:
Member
-
Posts:
65
-
Joined:
05-October 06
Posted 20 May 2007 - 04:12 PM
I guess from the last slide displayed before it was stopped by the user or boot down but i do not want to ose the recursive nature of the slideshow
0
-
Group:
Member
-
Posts:
617
-
Joined:
02-May 05
Posted 04 June 2007 - 04:05 PM
0
-
Group:
Member
-
Posts:
65
-
Joined:
05-October 06
Posted 06 June 2007 - 05:27 PM
Thanks you once more pcm - I now feel picture viewer is complete
a) recursive feature +

auto start and now c) continue slidesho from last stopped image
You know i ook the main.js fie and the pictureviewer.xml file and replaced the ones with the same name in the picture viewer milky aero skin folder in order to 'transfer these features' to that skin. Suprisingly that does not work! (in terms of apprearance and flip). I think it is becuase one of the image files is named frontside_aero.png and not frontside.png which causes a conflict with the scripted name in the xml file and hence the problem. All other image parts are named identically to those in the 'original' picture viewer.
Tell me pcm - is picture viewer scalable - i mean the frame within which the images are displayed?
Thanks for everything including attending to my repeated small whims!
0
-
Group:
Member
-
Posts:
617
-
Joined:
02-May 05
Posted 06 June 2007 - 09:16 PM
Can you define "scalable" a bit more?
All the images that appear in there should be resized to fit it.
If you change the XML to make the desklet bigger it will adjust itself to it.
If you set AveDesk to make the desklet bigger, it will cascade the changes but the image area doesn't scale the image in it does, but making it bigger doesn't make it have a "larger vieawable" area.
If you want larger area space, then what you need to do is make new desklet, use the existing template that is there and make desklet bigger and the DispayImg area bigger too. Then readjust all the objects (Play, next etc) to a better space.
Hope this answers your question, unless I totally misread it all.
0
-
Group:
Member
-
Posts:
65
-
Joined:
05-October 06
Posted 07 June 2007 - 11:33 AM
No you understand that perfectly - i was talking about making the viewing area larger and also having the images scaled to the new larger frame size - will do the what you have advised.
0