View Single Post
No!No!No!Yes!'s Avatar
Posts: 700 | Thanked: 846 times | Joined on Nov 2009
#1
Customize Queen BeeCon Widget (>=v0.1.4) to display:
Random Images/Photos Slideshow (4x3 and 16x9 frames)

The Beecon will display random photos/images from a specified directory. Both 4x3 and 16x9 aspect ratios white frames are provided. Change update policies as per your taste.





Needed frames' images are attached to this post.

4x3 Aspect Ratio Import this:
Code:
[queen-beecon-header]
version=1,000000
checksum=1486516
[queen-beecon-exported-instance]
widgetType=0
operationalStatus=0
hideCanvas=true
snippetBgRGB=0
beecon_lt0_ImgZoom=0
beecon_lt0_BgRGB=2
beecon_lt0_ImgFilename=queen-beecon-syserr.png
beecon_eq0_ImgZoom=0
beecon_eq0_BgRGB=3
beecon_eq0_ImgFilename=4x3.png
beecon_eq1_ImgZoom=0
beecon_eq1_BgRGB=4
beecon_eq1_ImgFilename=queen-beecon-appwrn.png
beecon_ge2_ImgZoom=0
beecon_ge2_BgRGB=5
beecon_ge2_ImgFilename=queen-beecon-apperr.png
beecon_idxge2_ImgZoom=0
beecon_idxge2_BgRGB=11
beecon_idxge2_ImgFilename=queen-beecon-index.png
widWidth=450
widHeight=337
instanceTitle=Slideshow4x3
instanceCmd=x='JPG';d="/media/mmc1/DCIM/4x3";a=$(expr `dd if=/dev/urandom bs=1 count=2 2>/dev/null | od -D | head -n 1 | cut -f2- -d' ' 2>/dev/null` % `find "$d" -maxdepth 1 -type f -name "*.$x"| wc -l` + 1);n=`find "$d" -maxdepth 1 -type f -name "*.$x"| head -n $a | tail -1`; ln -f -s $n /tmp/qbwslideshow; echo `basename "$n"`; exit 0
cmdImgFilename=/tmp/qbwslideshow
cmdImgZoom=1
cmdFgRGB=1
cmdVisibilityPosition=0
cmdImgVisibilityPosition=5
cmdJustify=0
cmdFontName=3
cmdFontSize=12
resImgFilename=queen-beecon-resimg.png
resImgZoom=0
resFgRGB=0
resVisibilityPosition=8
resImgVisibilityPosition=5
resJustify=0
resFontName=2
resFontSize=12
updOnStartup=false
updOnClick=true
updOnDesktop=false
delayIndex=0
updNeworkPolicy=0
16x9 Aspect Ratio Import this:
Code:
[queen-beecon-header]
version=1,000000
checksum=1483504
[queen-beecon-exported-instance]
widgetType=0
operationalStatus=0
hideCanvas=true
snippetBgRGB=0
beecon_lt0_ImgZoom=0
beecon_lt0_BgRGB=2
beecon_lt0_ImgFilename=queen-beecon-syserr.png
beecon_eq0_ImgZoom=0
beecon_eq0_BgRGB=3
beecon_eq0_ImgFilename=16x9.png
beecon_eq1_ImgZoom=0
beecon_eq1_BgRGB=4
beecon_eq1_ImgFilename=queen-beecon-appwrn.png
beecon_ge2_ImgZoom=0
beecon_ge2_BgRGB=5
beecon_ge2_ImgFilename=queen-beecon-apperr.png
beecon_idxge2_ImgZoom=0
beecon_idxge2_BgRGB=11
beecon_idxge2_ImgFilename=queen-beecon-index.png
widWidth=450
widHeight=253
instanceTitle=Slideshow16x9
instanceCmd=x='jpg';d="/media/mmc1/DCIM/";a=$(expr `dd if=/dev/urandom bs=1 count=2 2>/dev/null | od -D | head -n 1 | cut -f2- -d' ' 2>/dev/null` % `find "$d" -maxdepth 1 -type f -name "*.$x"| wc -l` + 1);n=`find "$d" -maxdepth 1 -type f -name "*.$x"| head -n $a | tail -1`; ln -f -s $n /tmp/qbwslideshow; echo `basename "$n"`; exit 0
cmdImgFilename=/tmp/qbwslideshow
cmdImgZoom=1
cmdFgRGB=1
cmdVisibilityPosition=0
cmdImgVisibilityPosition=5
cmdJustify=0
cmdFontName=3
cmdFontSize=12
resImgFilename=queen-beecon-resimg.png
resImgZoom=0
resFgRGB=0
resVisibilityPosition=8
resImgVisibilityPosition=5
resJustify=0
resFontName=2
resFontSize=12
updOnStartup=false
updOnClick=true
updOnDesktop=false
delayIndex=0
updNeworkPolicy=0
Change:
x='JPG';d="/media/mmc1/DCIM/4x3"
or
x='jpg';d="/media/mmc1/DCIM/";

according to your images/photos extension and directory respectively.
WARNING!!! Case for images/photos extension and directory is IMPORTANT!!!
Attached Images
  
__________________
Have a look at Queen BeeCon Widget (WIKI) Customizable and flexible widget-based multi-instance monitoring, alerting and interactive tool for the N900
Please provide comments and feedback for having QBW supported and enhanced further - (DONATE) - v1.3.3devel / v1.3.3testing / v1.3.3extras

Last edited by No!No!No!Yes!; 2010-04-27 at 23:06.
 

The Following 6 Users Say Thank You to No!No!No!Yes! For This Useful Post: