Project-Id-Version: Trac 0.12
POT-Creation-Date: 2008-01-30 09:20+0100
PO-Revision-Date: 2010-07-19 23:05+0200
Last-Translator: Jeroen Ruigrok van der Werven <>
Language-Team: en_US <>
Plural-Forms: nplurals=2; plural=(n != 1)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Generated-By: Babel 0.9.6

Warning: Can't synchronize with repository "(default)" (Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? ). Look in the Trac log for more information.

Ticket #151 (accepted bug)

Opened 8 years ago

Last modified 8 years ago

Delete Excess Tags/Metadata

Reported by: dgBoldt Owned by: sebastian
Priority: minor Milestone: 2.4
Component: unspecified Version:
Keywords: tags, metadata Cc:


We uploaded some photos that had some tags on them, deleted those tags in the gallery, but they keep showing up in search queries and the drop down when we add new tags.

Also, we had a tag that was capitalized but tried to update it with the lower case but it always saves with the original capitalized version. Even when that tag no longer exist on the site and the photos that had that tag are also deleted.

For example we wanted to change the tag "Education" to "education" on the photo but it always uses the "Education" one. And it happens no matter what photo we try tagging.

So, my main questions is ca we easily delete tags that are not being used?


tags.png (46.6 KB) - added by dgBoldt 8 years ago.
No photos are related to this search

Change History

Changed 8 years ago by dgBoldt

No photos are related to this search

comment:1 Changed 8 years ago by sebastian

  • Owner set to sebastian
  • Status changed from new to accepted

Thank you for submitting this issue.

The function "delete all unused tags" was recently added to the dev branch ( I plan to merge the dev branch "soon" to the master branch and release a new beta version with a new layout. See for a preview.

Regarding to change the capitalized version it's caused by MySQL query. The query is not case sensive by default. See for further information. Since phTagr uses the PHP framework CakePHP which wraps also the SQL statements I guess it would not that easy to change this behavior.

You can either switch to the dev branch to have the "delete all unused tags" function or you edit your database manually (or you bother me again and again to merge the "delete all unused tags" function to the master branch soon). I would prefer to switch to the dev branch because I would need also beta tester for it :-)

The "delete all unused tags" function would also imply a workaround for changing the case of letters by renaming the wrong tAg to "tag2", remove all unused tags and rename tag2 to "tag" again. "renaming" is doen via selection all images with the tag and remove the old and add a new tag like "-tAg, tag2".


comment:2 Changed 8 years ago by sebastian

  • Milestone set to 2.4
Note: See TracTickets for help on using tickets.