Forum
Cleaning up image resource tags
Hi!
How do I delete unused image resource tags that are filling up the 'By Tag' tab in the assets panel?
I'm building a Runway site which is using a lot of images, so we've been tagging them as we upload so we can find and re-use them, which is great. However, some of the images were already tagged with irrelevant tags which we deleted from the individual images, but they're still showing up in the 'By tag' tab in the assets panel, making it difficult to manage.
Can I safely remove these unused tag entries from the perch_resource_tags database table?
Summary information
Perch Runway: 3.0.2, PHP: 5.6.28, MySQL: mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $, with PDO
Server OS: Darwin, apache2handler
Installed apps: content (3.0.2), assets (3.0.2), categories (3.0.2), perch_blog (5.5.1), perch_forms (1.9)
App runtimes: <?php $apps_list = [ 'perch_blog', 'perch_forms', ];
PERCH_LOGINPATH: /perch
PERCH_PATH: /Users/adam/Sites/hiddenireland.com/site/perch
PERCH_CORE: /Users/adam/Sites/hiddenireland.com/site/perch/core
PERCH_RESFILEPATH: /Users/adam/Sites/hiddenireland.com/site/perch/resources
Image manipulation: GD
PHP limits: Max upload 32M, Max POST 32M, Memory: 128M, Total max file upload: 32M
F1: 0c66c2e1f82f9e0b7617b2cb8270f2c7
Resource folder writeable: Yes
HTTP_HOST: hiddenireland.dev
DOCUMENT_ROOT: /Users/adam/Sites/hiddenireland.com/site
REQUEST_URI: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
Yes, you can do that. We hope to add a cleanup routine in the future.