Image Switcher (Community)

Image Switcher // Community

1  |  

selanit

Apr 23, 2005, 4:43am
All,

I just finished writing a PHP script that Bastillion suggested; it's for
changing a picture in such a way that everyone nearby sees the change.
Basically, it's like using "activate picture whatever name=foo", but
everyone can see the change. The picture is pointed at a PHP script
that changes the image based on which button was last clicked. Very neat.

You can see a demo at:

aw 1225.08N 7737.57W 0.00a 0

And you can download a zip file with the script at:

http://www.atuan.com/aw/ImageSwitcher.zip

Hope this is useful to some of you. ^_^

Selanit

r i c h a r d

Apr 23, 2005, 12:03pm
To make it a bit more useful instead of just displaying no image set you
could display a small form with a drop down of all pictures?

http://bastillion.net/gallery/in.php



[View Quote]

bastillion

Apr 23, 2005, 2:08pm
Richard and all,
This was a "quick and dirty" solution to a question I had asked Selanit
about. It had solved my purpose, but in the process of working with it and
tweaking it, we realized just how unlimited the possibilities would be for
this new application!

That is why we had decided that we would opensource the code, and allow
others to expand on the premise.

I'm sure there would be a way to modify the script to show thumbnails in
your browser of each picture object, and I had even asked Selanit about some
other possible features - like saving an IP address so that only that person
could make changes until they released the control board, or a set amount of
time had elapsed.

Selanit was kind enough to supply me with this script to solve my
original question. He, like all of us, has a lot on our personal plates,
but took time to quickly resolve this issue for me. :)

I hope that many more people might be able to create even more wonderful
uses inside the AW universe for this application.

Bastillion, of The Bastion (aw 1206n 7750w)
www.bastillion.net

[View Quote]

lady nighthawk

Apr 24, 2005, 12:30am
Thanks for sharing you two! Hugzzz

LNH



--

[View Quote]

bastillion

Apr 26, 2005, 2:46pm
Well, I couldn't figure out how to modify the .php script myself, so
instead..

www.bastillion.net/gallery/imageswitcher.htm

I created a webpage with the images, and when you click on one, it changes
the image in AW.
This webpage is small enough that I recommend opening it in your AW browser,
and using the back arrow after it
tells you that the image is switched. :)

Selanit, do you have any better ways of possibly doing this?

Bastillion, of The Bastion - A Gallery of Talented Builders
aw 1206n 7750w
www.bastillion.net


[View Quote]

1  |  
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn