PDA

View Full Version : simple compact applet


sudaplatov
22nd of February 2002 (Fri), 12:29
During five years of shooting on Coolpix 900 I got
almost 3000 pictures and met problem how to browse
them effectively without being lost.
I found web galleries are not quite effective for
huge amount of files so I wrote simple compact and
absolutely safe java applet to handle jpeg-files
by means of user created popup menu.
This applet is not an alternative to web galleries
or engine of Pekka - it serves different purposes.
All my pictures (a lot) together with applet and
short FAQ on how this applet works can be seen on
my web page: http://www.maths.liv.ac.uk/~cheltsov.
Bad things that invoking of java applets is slow
in many browsers and that I did not implement
tools to watch text info related to given picture
except line of text shown in status bar of browser.
I did not put status bar info for almost all of
my pictures because I did not have enough time.
Applet is written in Java 1.2 (old version) on
purpose - in this way applet should be understood
by most of browsers.

Roger_Cavanagh
23rd of February 2002 (Sat), 05:34
Ivan,

Very simple and elegant!

Regards,

Pekka
23rd of February 2002 (Sat), 05:57
Excellent applet. Simple, fast and relatively easy to set up. All I'd miss would be some description of the photo, or headers printed.

You don't seem to have the scaling enabled there?

Leighow
23rd of February 2002 (Sat), 12:43
I do not know how to write Java scripts, but I will give this a try tonite.

I had always wanted to try something like this, and assumed that I would have to convert a power point file to HTML and post.

It is great to see you sharing your expertise.

HOWIE

sudaplatov
23rd of February 2002 (Sat), 21:51
Pekka wrote:
>All I'd miss would be some description of the photo,
>or headers printed.
>You don't seem to have the scaling enabled there?

Actually short description for every foto is available
in the browser's status bar - applet read this
short description from the same file containing
file names.
One line is not enough - but this is simple.
More complex solution can be easily done,
but I don't decide yet how should it be made to be
effective, good, simple and good looking.

Scaling is enabled - at least it should be enabled.
If size of foto is smaller than size of applet then
scaling is done (smaller can be considered in
two ways depending on one parameter - explained
in FAQ on my webpage).
However scaling on some browsers is not as
good as natural scaling in Photoshop because
Java Virtual Machine is not perfect on many computers.
So scaled result sometimes may look not good.
All fotos on my webpage are small because I put
too many of them on server - so I prescaled all
fotos at Photoshop vere severily (small size).