I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods

Click Here!
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / Other I-Appliances / 3Com Audrey
partial picture frame idea

New Messagepartial picture frame idea (modified 0 times) chewyboy
Profile
ok, so some are going to think this is a crazy idea, but it should work. let's say i want to keep my audrey in the kitchen for use whenever needed, plus i want to have it when it's on work as a picture frame too. correct me if i'm wrong but the following should work, as i tried it on a limited basis and it was working for me. go into the /data/XML/Channels/.countertop/Template/index.shtml redirect that to a local server. i have perl script running under iis that takes all the contents of a dir and changes the pic every 10 seconds. anyway it worked, and the reason so is everything is being pushed from server side, and i thought i would share. anyone else try anything goofy like this yet?
09-03-2001 01:35:25

New MessageRE:partial picture frame idea (modified 0 times) rseidl
Profile
I have taken a different approach, documented at
http://www.canoma.com/audrey/slideshow.html

It is aimed at HomeSeer software users, so uses vbscript instead of perl for the page generation.
I am wondering how much of the screen are you actually able to use ? (With my method, the max seems to be 603x461 pixels - otherwise voyager will bring up scrollbars grrrr)

Robert
http://www.canoma.com/audrey

09-03-2001 05:18:24

New MessageRE:partial picture frame idea (modified 0 times) chewyboy
Profile
mine works as the background actually so it takes up all 640x480, i like your site though. so you know it's not an 8 bit color depts that the audrey can display it's 12 bit, but it still does suck for dithering. i hope this helps
09-03-2001 12:03:51

New MessageRE:partial picture frame idea (modified 0 times) ravic
Profile
Here is a simple script. Put this in your web site at the root level into a file called "slideshow.asp" and create a folder called "photos" under this folder. This page will randomly show the pictures in the folder photos. This will only work with IIS.

*****************Contents of slideshow.asp (dont copy this line) ******************************


<title>Slide Show</title>
<head><META HTTP-EQUIV="refresh" content="15"></head>
<body>
<%dim fso
dim fol
dim fc
Set fso = CreateObject("Scripting.FileSystemObject")
apppath = Request.ServerVariables("APPL_PHYSICAL_PATH")
apppath = apppath & "\photos"
set fol = fso.getfolder(appPath)
Set fc = fol.Files
Dim MyValue
Randomize
MyValue = Int((fc.count * Rnd) + 1)
i = 0
for each f in fc
i = i+1
if i >= MyValue then
response.write "<IMG SRC=""photos/" & f.name & """ >"
exit for
end if
next%>
</body>

***************************************(dont copy this line)**************************************

09-03-2001 13:30:04

New MessageRE:partial picture frame idea (modified 0 times) SpaceGhost
Profile
ok, what's IIS?
09-03-2001 16:02:59

New MessageRE:partial picture frame idea (modified 0 times) chewyboy
Profile
ms's web server IIS:=Internet Information Server it runs on nt/2k
09-03-2001 17:23:39

New MessageRE:partial picture frame idea (modified 0 times) vastari
Profile | Email
Or, if you want the perl for that:

#!/usr/bin/perl

use IO::Dir;

print "Content-type: text/html\n\n";

$d = new IO::Dir "images";
if (defined $d) {
while (defined($_ = $d->read)) {
push(@photos,$_) unless ($_ eq "." || $_ eq "..");
}
print qq(<html><title>Photo Gallery: $_</title>),
qq(<body><img src="images/), $photos[rand(@photos)],
qq("></img></body>);
} else {
print "Can't open images: $! ";
}

What would be ideal, though, would be the ability to resize the picture based on aspect ratio and then have JavaScript format it correctly using "length" and "width" parameters to the img tag.

vastari

09-04-2001 23:14:31

New MessageRE:partial picture frame idea (modified 0 times) mcjamison
Profile
I took a slightly different route, writing a PHP script that dynamically reads the contents of a directory of images and creates a self-refreshing series of images. Thus, you don't have to re-run a script to generate static HTML pages when the directory's contents are updated. Each image is also a link to the next one, so you can quickly cycle forward by tapping on the pictures.

This thread at the audreyhacking site includes more details on usage, the source code, and a link to a sample on my site: http://www.audreyhacking.com/forum/read.php?f=2&i=466&t=466 (if that doesn't work, go to www.audreyhacking.com, visit the audrey hacking forum, and search for "PHP" in the subject line). I've also made a .phps link, so you can see the color-coded source at www.graystuff.com/slideshow/slideshow.phps .

10-25-2001 19:35:27

New MessageRE:partial picture frame idea (modified 0 times) boob
Profile
Hmm, I'm thinking of a different approach. Instead of an audrey that also occasionally does photo frame duty i'm thinking a dedicated photo frame thats self contained.

I have a pair of audreys (and an msn companion) languishing on a shelf. I'd love a dedicated picture frame app for the audreys as that would make them quite useful to me. Wouldnt have much of a need for regular audrey capabilities and I probably wouldnt easily get network connectivity to where I'd want the frames located. Anyone with an idea for how to use the external flash connector for picture storage, or a stripped audrey s/w stack that would allow copying the picture files to the internal flash?

Considering that a standalone photo frame costs a good bit of cash and audreys arent fetching much in the resale market, could be a good project. Only things I can think of for adjustment are the time between picture changes and maybe using the knob to forward/reverse through the pictures.
If I could fit 3-5 photos on it that would be perfectly ok, but more is better.

10-29-2002 10:56:09

Reply to Thread | Printer |
All times are PSTPowered by UltraBoard v1.62



Copyright © 2000, Netmake Inc. All Rights Reserved.
See Terms and Conditions for more information.




i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3