Touchup Demonstration

pmj7's picture

He has: 234 posts

Joined: Nov 2002

Hi

This page was inspired, in part, by AltaVista's Babelfish service. If you are unfamiliar with Babelfish, it accepts a given URL and translates the text from one language to another. For example, an English reader could understand a French website. It also translates the links so that you can surf through the entire site using the service.

My page parses through a given webpage, translates links and selects a suitable IMG tag to replace with my image processing applet, Touchup. The idea is I can walk into Art Galleries, Libraries, Museums and have a quick 'take a look at what this Applet can do for you!'.

Oh, one final thing. If the service detects your using a Macintosh, images are made 1.22x brighter using gamma. This is to compensate for the standard 2.2 gamma on Windows, and 1.8 gamma on Macintoshes.

Any feedback is appreciated.

Thanks!

Touchup Demonstration

Peter

Touchup image processing applet
Pixel Development Web Design, Photography

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

I'm using a Mac set to PC gamma.

Also, it doesn't work in Safari, I just get a big X.

pmj7's picture

He has: 234 posts

Joined: Nov 2002

Hi Suzanne!

The auto-macintosh gamma compensation is an 'extra' I wrote into this demonstration page - I could save a gamma adjustment preference in the Session.

Does Safari bring up Java Applets as you have it installed at present?

Peter

Touchup image processing applet
Pixel Development Web Design, Photography

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

Hi, Peter,

Yes, it does -- most other applets seem to work (though it used to occasionally crash after they are closed that hasn't happened since the last update).

This starts to load (I get the grey rectangle and the coffee cup symbol), then I get a large red x in the top left corner.

mjs416's picture

They have: 127 posts

Joined: Dec 2003

I see the red x with Netscape 7.1 also.

davidjaymz's picture

He has: 193 posts

Joined: Jul 2001

and me in firefox0.8... get a page with the national geographic stuff but a big grey square with an x in it

DJ

pmj7's picture

He has: 234 posts

Joined: Nov 2002

Hi

Hmmm... so much for write once, run everywhere. Sad

Thanks for checking, are you guys running on a Macintosh? Do you have Java installed? How about if you go to http://members.shaw.ca/jonespm2/software.htm then click on Demo and select one of the galleries. Does it work then?

Very strange. I'm running Windows XP and it works with Explorer, Firefox and Opera.

Peter

Touchup image processing applet
Pixel Development Web Design, Photography

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

The photo shows up on your site (no grey box with a red x) but the controls don't do anything.

And yes, I have Java installed. I haven't bumped into any broken applets at all -- they are distinctive when they aren't functional, those ugly medium grey boxes. Blech.

pmj7's picture

He has: 234 posts

Joined: Nov 2002

Hi Suzanne

I'm running Window XP with Explorer 6, Firefox .8 and Opera 7.5. Wink

Ok, so the applet works, but the JavaScript on the page talking to the applet doesn't. Wierd that the demonstration doesn't work then, I'm replacing an IMG with an APPLET statement. Perhaps it's some sort of security issue. Maybe if I pulled the full-path definition of where the applet is stored then certain browsers would be happier. Hmmm... Nope, FireFox requires full path for the applet.

Oh, one final thing, I thought Firefox was build on Mozilla which was the cross-plaform browser product. If things worked on Mozilla then they work everywhere? I guess I'm mistaken.

P.S. It would be very helpful to me if everyone started their message with "I'm running Mac OS X" or "Windows XP". Thanks! Smiling

Peter

Touchup image processing applet
Pixel Development Web Design, Photography

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

Add that to your post, then. Wink

OSX 10.2, Safari 1.0.2 (v85.7)

pmj7's picture

He has: 234 posts

Joined: Nov 2002

Done! Wink

Oh, Suzanne, you mean the custom, JavaScript controls don't do anything, or Touchup's applet controls that float ontop of the image don't do anything?

Peter

Touchup image processing applet
Pixel Development Web Design, Photography

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

um... both, I think.

I know there are supposed to be controls atop the image in the applet now that you remind me, but they weren't coming up (or not in a timely fashion, anyway). The JavaScript form -- gamma, b&w, et cetera didn't work at all. Click click click. Nada.

Retesting: Oh! There the controls are. I have to mouse over a spot to get them? Er, rather, is that how it's supposed to work that I mouse over the image and hit a hot spot and the controls appear? If so, how do I get them to shoo?

Retesting original link for this thread: still no go.

davidjaymz's picture

He has: 193 posts

Joined: Jul 2001

Win2K firefox0.8

Looks like your gallery worked for me... i played with the plane picture :0

DJ

pmj7's picture

He has: 234 posts

Joined: Nov 2002

Hi Suzanne

You have to have your mouse on top of the image (applet) for the controls to appear. If you have the Info window open, just close it. If you have the keyhole zoom open, just zoom out one more level (right-click), or hit 'esc' as it should say in the status bar. For the big control panel, just click on the checkmark.

Ok, so given what you both are saying, the applet works fine. There's something in the html code that the browser doesn't like.

Peter

Touchup image processing applet
Pixel Development Web Design, Photography

pmj7's picture

He has: 234 posts

Joined: Nov 2002

I've improved the parsing, added the ability to set your gamma, and added a few new page suggestions.

Feedback is still welcome, my next step is to try work with the online validators and make sure that I'm creating valid code. While it currently works for Windows XP with Explorer, Opera and Mozilla, this may be why it's not behaving for everyone.

Hmmm... proving more difficult that I thought. Every example site I've found shows a huge list of HTML/CSS errors on the original page. Does anyone know of a good image gallery that validates?

Thanks!

Peter

Touchup image processing applet
Pixel Development Web Design, Photography

mjs416's picture

They have: 127 posts

Joined: Dec 2003

With netscape, I still see nothing but a red X.

He has: 12 posts

Joined: May 2004

nice site a 10 i like the drop down at the side lots of info

pmj7's picture

He has: 234 posts

Joined: Nov 2002

Thanks, which site/page? Wink

Very strange. Mozilla uses the same engine (so does Opera, but an earlier version) but when you start with Netscape instead of Explorer (after booting) you get inconsistent results.

In any case, removing my initial base href and converting all image address to absolute seems to have fixed it for Netscape 7.1 - at least under Windows XP!!

Peter

Touchup image processing applet
Pixel Development Web Design, Photography

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.