Javascript and ? link

Author Message
Hat 12/24/2004 07:47 am
There is http://server/directory/filename.htm which has the following link.

> <a onClick="javascript:window.open(`?cmd=exif`,`exif`,`width=300,height=400`)" href=# class=text3>EXIF Image Details</a>

When I click this javascript link on IE6, http://server/directory/filename.htm?cmd=exif is opened successfully.

However, OE didn`t parse the javascript portion. So I enabled [Evaluate script calculations].
Now OE parses the javascript, but it still fails to download.

Log:
> Rejected URL (Disabled in a File Filters section): http://server/directory/?cmd=exif

It seems OE builds an incorrect path. "filename.htm" is missing from it.

How do I let OE download "filename.htm?cmd=exif" in this case?

Thanks.
Oleg Chernavin 12/24/2004 08:05 am
Can you please give me the URL of that page with such links? I will improve the parsing code and test it.

Thank you!

Best regards,
Oleg Chernavin
MP Staff
Hat 12/24/2004 10:36 am
Thank you for the quick reply.
http://public.fotki.com/LadySmiles/castles/kasteel_cannenburgh/vaassen_002.html, for example.
My OE Pro is 3.5.1872.
Oleg Chernavin 12/27/2004 06:52 am
OK. I just fixed the problem. Here is the updated oe.exe file:

http://www.metaproducts.com/download/betas/oep1897.zip

Oleg.
Hat 12/27/2004 06:01 pm
Yes, it works! Thank you for the great support.
Oleg Chernavin 12/28/2004 05:00 am
You are welcome!

Oleg.
John WM 01/26/2005 11:02 am
Oleg;

I have been searching the web to find a way to use javascript to get EXIF information out of a given JPG. I am currently creating a new photo website and would very much like to add this feature. I generate webgalleries from a standard desktop photo organiser that i have customised to have my own look and feel. (www.parsprophoto.com, just a hobby photo site of mine) Is the solution talked about in this thread only applicable to your products or can this cdm exif be use in general terms? What do I have to do basically to get the exif in the open without buidling a database with all the info already in it?

looking forward to your reply.

JW

Oleg Chernavin 01/26/2005 05:53 pm
I am afraid that the site above has a database with all EXIF infos on every JPG file on it. The script simply opens a popup page with the info displayed.

I think it is impossible to use Javascript to get the EXIF information directly from a file. Javascript doesn`t have good functions to open files, read information, process it, etc.

Oleg.