Ignore tags from uploaded pictures

bowserbabe

Joined: 2012-05-11
Posts: 4
Posted: Fri, 2012-05-11 00:52

My pictures have a bunch of junk tags that I don't want. Is there some way to turn off the option to extract tags from the pictures when uploading?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 26107
Posted: Fri, 2012-05-11 02:47

Disable the tags module?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
bowserbabe

Joined: 2012-05-11
Posts: 4
Posted: Fri, 2012-05-11 04:04

I don't want the tags turned off completely, I just don't want it loading them from the picture keywords/data/whatever. I want tags only when I add them manually.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 26107
Posted: Fri, 2012-05-11 04:40

Disable the tags module when you add them?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
bowserbabe

Joined: 2012-05-11
Posts: 4
Posted: Fri, 2012-05-11 05:16

Not ideal, but seems to work for now. Thank you.

 
tempg

Joined: 2005-12-17
Posts: 1637
Posted: Sat, 2012-05-12 22:04

This can be done by editing the gallery3/modules/exif/helpers/exif.php file.

As a starting point:
Backup. Then try removing the comma from line 130 and commenting out line 131:
"Keywords" => array("IPTC", "Keywords", t("Keywords"), )

May also be able to (need to?) do something with other lines (e.g. 57-61,65-66,77).

 
bowserbabe

Joined: 2012-05-11
Posts: 4
Posted: Sun, 2012-05-13 07:38

I have the exif module unchecked. I did get it to stop tagging pictures by commenting out line 50 in gallery3/modules/tag/helpers/tag_event.php though:
tag::add($photo, $tag);
That's probably not the best place to do it but it works apparently.