Main Menu

Install on website?

Started by captainbogart, September 18, 2013, 08:40:22 PM

Previous topic - Next topic

captainbogart

I want to put exiftool on my website so that I can do miscellaneous things like rotate images, etc from php scripts.  I, um, don't know what to do...  ???  Is it possible to put it into a directory on my iPage server and rotate and update the exif or am I just way off on my thinking?  To be exact what I really want to do is check the exif orientation, rotate to THAT orientation and finally write a "1" into the exif orientation.  But to have it available online would surely lead to me using it for some of my other webpages as well.  I already know how to do a few simple, novice type things with the exiftool running on my computer but seeing all this talk about php and all has got me hoping I can run it online.  Thanks!
-Chris

Phil Harvey

Hi Chris,

Certainly ExifTool may be called by cgi scripts running on a web server.  Here is one implementation of this for reading metadata.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).