ExifTool Forum

ExifTool => Archives => Topic started by: Archive on May 12, 2010, 08:54:12 AM

Title: dynamic webpages using ExifTool?
Post by: Archive on May 12, 2010, 08:54:12 AM
[Originally posted by eddiebug94601 on 2007-11-29 03:44:35-08]


Is there a way that I can use exiftool to generate webpages?

I would like to allow visitors to a webpage to click on a photo (or link)

and to open a page with embedded tags and values from a JPG.

Eddie Dunbar
Title: Re: dynamic webpages using ExifTool?
Post by: Archive on May 12, 2010, 08:54:12 AM
[Originally posted by exiftool on 2007-11-29 14:19:18-08]

Hi Eddie,

There are a few different ways to handle this.

One way is to use the -h option to generate an HTML
table which you can insert into a web page.

Another possibility is to create a template for your web page
and use the -p option to generate the complete page.

There are other ways to do this too, but these are the first two
that pop into my mind.

- Phil
Title: Re: dynamic webpages using ExifTool?
Post by: Archive on May 12, 2010, 08:54:12 AM
[Originally posted by eddiebug94601 on 2007-12-01 02:06:18-08]


Phil -

I figured out how to get -p to output to an HTML table. If I rename the tool to exiftool.pl and put it into my perl directory on a website, can the tool be used to output the data to a webpage on the fly?

Eddie Dunbar
Title: Re: dynamic webpages using ExifTool?
Post by: Archive on May 12, 2010, 08:54:12 AM
[Originally posted by exiftool on 2007-12-01 13:57:29-08]

Hi Eddie,

Yes.

- Phil
Title: Re: dynamic webpages using ExifTool?
Post by: Archive on May 12, 2010, 08:54:12 AM
[Originally posted by eddiebug94601 on 2007-12-01 21:39:39-08]


Please point me to a site where exiftool is already being used effectively within webpages. Thanks.

Eddie Dunbar
Title: Re: dynamic webpages using ExifTool?
Post by: Archive on May 12, 2010, 08:54:12 AM
[Originally posted by exiftool on 2007-12-02 01:50:18-08]

I only have one or two references that are using exiftool dynamically,
and I can dig them up for you on Monday.  Imaging-resource.com also
uses exiftool, but I think they generate the EXIF pages offline first, which
is the better option if you have a heavy traffic server as they do.

- Phil
Title: Re: dynamic webpages using ExifTool?
Post by: Archive on May 12, 2010, 08:54:12 AM
[Originally posted by exiftool on 2007-12-03 15:46:38-08]

A couple of references:


Using ExifTool with PHP to generate dynamic web pages



CGI-based Online EXIF viewer


- Phil