[new module]: strip exif

floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2011-08-21 20:16
 
jingai

Joined: 2011-07-23
Posts: 20
Posted: Mon, 2011-08-22 16:45

I wrote this module because I needed a way to strip off location (GPS) metadata from uploaded photos for a private Gallery3 site I run for family members. So, by default, the module is configured to strip the GPS/location EXIF and IPTC tags that I've personally encountered. However, it can also be configured to strip any tags you like.

The tags you configure for removal will be removed from all instances of the image: the original, the resized version, the thumbnail, and the album covers.

It cannot (yet) remove tags from existing images. There should be an option to do so in the module's configuration page, I know, but I just haven't got any more time right now to work on this. If someone would like to add this functionality, feel free to do so and please send me a patch so I can update it in git.

-j

 
iluv4u2c
iluv4u2c's picture

Joined: 2003-03-15
Posts: 92
Posted: Wed, 2012-01-11 14:28

I installed the module on my cPanel.

I have 7 domains on the server.

The exiv2 was just install by the Hosting tech support.

I want to strip everything available.

1 --where to get the path field, do I look on the server or the cPanel for that domain. I can certainly ask Hosting tech where the location but I first to clarify how the path to look (example only /usr/local/lib/php)

2--Therefore I will leave all the tags?

 
jingai

Joined: 2011-07-23
Posts: 20
Posted: Wed, 2012-01-11 16:44
iluv4u2c wrote:
I want to strip everything available.

1 --where to get the path field, do I look on the server or the cPanel for that domain. I can certainly ask Hosting tech where the location but I first to clarify how the path to look (example only /usr/local/lib/php)

If you have access to a shell, type:

% which exiv2

Otherwise, ask your hosting tech for the full path to the binary. On my own machine (Debian Linux), the path is "/usr/bin/exiv2".

iluv4u2c wrote:
2--Therefore I will leave all the tags?

I'm not sure what you're asking for here. You need to specify all of the tags you wish to remove from the uploaded photos. The defaults remove known (to me) GPS and Location tags.

-j