Title: Categories Images
Author: Zahlan
Published: <strong>12. juni, 2012</strong>
Last modified: 16. april, 2026

---

Søg plugins

![](https://ps.w.org/categories-images/assets/banner-772x250.png?rev=1803373)

![](https://ps.w.org/categories-images/assets/icon-128x128.png?rev=2256871)

# Categories Images

 Af [Zahlan](https://profiles.wordpress.org/elzahlan/)

[Download](https://downloads.wordpress.org/plugin/categories-images.3.3.3.zip)

 * [Detaljer](https://da.wordpress.org/plugins/categories-images/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/categories-images/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/categories-images/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/categories-images/#developers)

 [Support](https://wordpress.org/support/plugin/categories-images/)

## Beskrivelse

The Categories Images is a WordPress plugin allow you to add image to category, 
tag or custom taxonomy.

Use `<?php if (function_exists('z_taxonomy_image_url')) echo z_taxonomy_image_url();?
>` to get the url and put it in any img tag.
 Or simply use `<?php if (function_exists('
z_taxonomy_image')) z_taxonomy_image(); ?>` in (category or taxonomy) template.

#### REST API Support

Access term images via the WP REST API. The field `z_taxonomy_image_url` is automatically
added to term objects.

#### Enhanced Shortcodes

 * `[z_taxonomy_image term_id="123" size="medium" link="yes"]` – Display a specific
   term image with a link.
 * `[z_taxonomy_list taxonomy="category" style="grid" columns="4" show_name="yes"]`–
   Display a beautiful grid of terms with their images.

#### Elementor Integration

Use term images dynamically in Elementor via the native Dynamic Tags system.

#### Settings

Categories Images settings menu is now under Settings > Categories Images to avoid
cluttering the main WordPress menu, the settings now is more organized with a dedicated
documentation page that includes usage examples and shortcodes.

From the settings menu, you can exclude any taxonomies from the plugin to avoid 
conflicts with other plugins like WooCommerce!

### Documentation

Documentation is now available inside the plugin settings menu. for more information
please visit the [Categories Images](https://zahlan.net/blog/2012/06/categories-images/).

## Skærmbilleder

 * [[
 * [[
 * [[
 * [[
 * [[
 * [[

## Installation

You can install Categories Images directly from the WordPress admin panel:

 1. Visit the Plugins > Add New and search for ‘Categories Images’.
 2. Click to install.
 3. Once installed, activate and it is functional.

eller

Manual Installation:

 1. Download the plugin, then extract it.
 2. Upload `categories-images` extracted folder to the `/wp-content/plugins/` directory
 3. Activate the plugin through the ‘Plugins’ menu in WordPress

You’re done! The plugin is ready to use, for more information please check the plugin
description or settings page.

## FAQ

Please check the documentation page:
 https://zahlan.net/blog/2012/06/categories-
images/

## Anmeldelser

![](https://secure.gravatar.com/avatar/2b49c8bf184961356df2200addada96d7cfba9f74955fb237bd3fc11dd500f76?
s=60&d=retro&r=g)

### 󠀁[Works a treat](https://wordpress.org/support/topic/works-a-treat-158/)󠁿

 [xmagentur](https://profiles.wordpress.org/xmagentur/) 24. april, 2026

We have used this plugin for the display of custom post type category images and
it works a treat! You could only improve it my offering a media library select field
but for now it works very well, already! Thank you.

![](https://secure.gravatar.com/avatar/73bdb9a562f03d46e0bb66299d0a4a2dba1921d7c036aec1beff5490c45e5d9a?
s=60&d=retro&r=g)

### 󠀁[Super Useful](https://wordpress.org/support/topic/super-useful-229/)󠁿

 [Bonnie Walker](https://profiles.wordpress.org/bonniew/) 21. december, 2025

I have been using this plugin for a couple years and it is a significant part of
making categories work like, well, categories, and making my website look more graphical
and appealing. The one time there was an issue, the plugin author fixed it very 
quickly. Really grateful for this plugin. Thank you!

![](https://secure.gravatar.com/avatar/982433ac839e5cb85cf2f5ee2206a5c67a991bb10e66cde654165c7904a17695?
s=60&d=retro&r=g)

### 󠀁[Test before using + no block](https://wordpress.org/support/topic/test-before-using-no-block/)󠁿

 [LilGames](https://profiles.wordpress.org/lilgames/) 16. marts, 2025

I give 2 stars because this plugin seems to do what it claims, that is, assign an
image to each category and tag taxonomy (which is exactly what I want and something
the core WordPress should already have!) However, there’s no Block added for easily
using the new feature in templates. You have to edit PHP code. I also caution everyone
to review the old complaints about how it records the images in the database and
you should thoroughly test on a staging site first if the old complaints are still
valid (slowing down large sites, not cleaning up the DB, etc)

![](https://secure.gravatar.com/avatar/3535f86377d6af2d2c8e4617314540d03dc60b319fb6c29f8813c84922f08b78?
s=60&d=retro&r=g)

### 󠀁[Broke all my categories](https://wordpress.org/support/topic/broke-all-my-categories/)󠁿

 [In Touch Consulting](https://profiles.wordpress.org/intercommsa/) 5. oktober, 
2023

I installed it, and then realised that my SEO plugin allows OG images. I deactivated
and deleted it. Now none of my categories work. I reset the permalinks, nothing.
The categories show there are items, but the posts show no categories or tags attached
to the post, and none can be added. I don’t know WHAT it did!

![](https://secure.gravatar.com/avatar/119e0016a85c00ac510b728f4e681f860439a31c7c89e1aca316c487b328225a?
s=60&d=retro&r=g)

### 󠀁[Simply the Best Plugin in its category!](https://wordpress.org/support/topic/simply-the-best-plugin-in-its-category-2/)󠁿

 [G.](https://profiles.wordpress.org/accentsduterroir/) 28. juli, 2023

I had tested them all, and I can confirm that this plugin is the best in its category.
I use it throughout my project, the z_taxonomy() function has become my favorite
😉 Thank you, Muhammad, for continuing to maintain it 🙏.

![](https://secure.gravatar.com/avatar/36af542b5b371a44e13d1aa9c3ebc8e25adde1198863936421b3b2adfd14aa28?
s=60&d=retro&r=g)

### 󠀁[Ok on WordPress 6.0.2](https://wordpress.org/support/topic/ok-on-wordpress-6-0-2/)󠁿

 [Jon](https://profiles.wordpress.org/johnnn/) 17. oktober, 2022

Tested and used on WordPress 6.0.2, perfect

 [ Læs alle 86 anmeldelser ](https://wordpress.org/support/plugin/categories-images/reviews/)

## Bidragsydere & udviklere

“Categories Images” er open source-software. Følgende personer har bidraget til 
dette plugin.

Bidragsydere

 *   [ Zahlan ](https://profiles.wordpress.org/elzahlan/)

“Categories Images” er blevet oversat til 18 sprog. Tak til [oversætterne](https://translate.wordpress.org/projects/wp-plugins/categories-images/contributors)
for deres bidrag.

[Oversæt “Categories Images” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/categories-images)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/categories-images/),
tjek [SVN repository](https://plugins.svn.wordpress.org/categories-images/), eller
abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/categories-images/)
via [RSS](https://plugins.trac.wordpress.org/log/categories-images/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 3.3.3

 * Performance Optimization: Reordered attachment lookup to prioritize stored IDs,
   significantly reducing database load on large sites by avoiding expensive attachment_url_to_postid()
   calls.
 * Bug Fix: Fixed “Remove Image” button to ensure the Attachment ID is also cleared
   upon deletion.
 * UX: Implemented event delegation in admin scripts to support AJAX-updated table
   rows during Quick Edit.

#### 3.3.2

 * Security release: Fixed an authenticated Stored XSS vulnerability in the `[z_taxonomy_image]`
   shortcode (CVE-2026-2505).
 * General security hardening: Implemented strict “Escape on Output” for all dynamic
   strings to comply with WordPress.org coding standards.
 * Refactor: Replaced direct database queries with core WordPress functions to resolve
   Plugin Check warnings.
 * Maintenance: Verified compatibility to WordPress 6.9.4 and aligned with strict
   WordPress.org plugin directory standards.

#### 3.3.1

 * Fixed a potential fatal error during REST API initialization.

#### 3.3.0

 * Added native Elementor Dynamic Tag support for taxonomy images.
 * Integrated with WordPress REST API (adds `z_taxonomy_image_url` to term responses).
 * Major shortcode overhaul:
    - Enhanced `[z_taxonomy_image]` with custom links, placeholders, and size support.
    - Enhanced `[z_taxonomy_list]` with grid/list layouts, column control, and conditional
      name/count display.
 * Performance: Modern PHP array syntax refactor and optimized asset versioning.
 * Fixed frontend CSS loading for shortcode grids.
 * Categories Images settings menu is now under Settings > Categories Images to 
   avoid cluttering the main WordPress menu, the settings now is more organized 
   with a dedicated documentation page that includes usage examples and shortcodes.

#### 3.2.0

 * Fix wp_options bloat issues by migrating to Term Meta API (wp_termmeta) for WP
   4.4+.
 * Backward compatibility for WP < 4.4 maintained via wp_options fallback.
 * Improved performance by implementing Singleton pattern to reduce class instantiation
   overhead.
 * Security enhancements (nonce verification, input sanitization).

#### 3.1.0

 * Added DE translation, thanks to denarie.
 * Start using imageId instead of imageUrl to solve any the CDN issues, thanks so
   alessandrocarrera.
 * Tested with the latest version of wordpress

#### 3.0.1

 * Disable options autoload to enhance wordpress queries performace

#### 3.0.0

 * Fix settings page issues
 * Fix compatibility with the latest WordPress version
 * Rewrote the whole plugin from scratch, now the code is much efficient, readable
   and cleaner

#### 2.5.4

 * Fix compatibility with the latest WordPress version

#### 2.5.3

 * Fix not displaying single tag image bug in tag.php template
 * Adding language support for Swedish. Thanks to Simon Sandgren

#### 2.5.2

 * Fix displaying full size image bug in backend
 * Fix quick edit bug
 * Some code enhancements

#### 2.5.1

 * Adding language support for Russian.
 * Adding language support for Serbian. Thanks to Andrijana Nikolic.
 * Adding language support for Catalan. Thanks to Marc Queralt.
 * Change the plugin text domain from zci to categories-images to match the plugin
   slug as requested by WordPress.

#### 2.5

 * Adding language support for Ukrainian. Thanks to Michael Yunat.
 * Adding new function z_taxonomy_image() to display category or taxonomy image 
   directly with support for size, alt and other attributes, for and how to use 
   it please check the documentations.
 * Some code enhancements.

#### 2.4.2

 * Update code to reduce db queries. Thanks to fburatti.

#### 2.4.1

 * Fix placeholder bug in backend.

#### 2.4

 * Adding language support for Spanish (Thansk so much to Maria Ramos).
 * Adding support for resizing categories images (Thanks so much to Rahil Wazir).
 * Some code enhancements.

#### 2.3.2

 * Adding language support for French.

#### 2.3.1

 * Bug fix in js for WordPress media uploader.

#### 2.3

 * New screenshots.
 * Updated language file.
 * Added support for both old and new WordPress media uploader.
 * Added new submenu (Categories Images) in Settings menu.
 * Added new settings for excluding any taxonomies from the plugin.
 * Added new placeholder image.

Thanks to Patrick and Hassan for the new ideas.

#### 2.2.4

 * java script bug fixed, reported about conflicting with WooCommerce plugin. Thanks
   to Marty McGee.

#### 2.2.3

 * bug fix in displaying category or taxonomy image at the frontend.

#### 2.2.2

 * bug fix in displaying placeholder image in wp-admin.

#### 2.2.1

 * edit z_taxonomy_image_url() to only return data in case the user inserted image
   for the selected category or taxonomy

#### 2.2

 * fix a bug, prevent a function from running execpt when editing a category or 
   taxonomy to avoid affecting other wordpress edit pages in the wp-admin

#### 2.1

 * fix a bug in languages
 * fix a bug in quick edit category or taxonomy

#### 2.0

 * New screenshots.
 * Added l10n support.
 * Added Arabic and Chinese languages.
 * Added new button for upload or select an image using wordpress media uploader.
 * Added default image placeholder.
 * Added thumbnail in categories or taxonomies list.
 * Added image thumbnail, image text box, upload button and remove button in quick
   edit.

Thank so much to Joe Tse

#### 1.2

 * Adding some screenshots

#### 1.1

 * Fix javascript bug with wordpress 3.4

#### 1.0

 * The First Release

## Meta

 *  Version **3.3.3**
 *  Senest opdateret **4 uger siden**
 *  Aktive installationer **50.000+**
 *  WordPress-version ** 4.0 eller højere **
 *  Testet op til **6.9.4**
 *  Sprog
 * [Danish](https://da.wordpress.org/plugins/categories-images/), [Dutch](https://nl.wordpress.org/plugins/categories-images/),
   [English (South Africa)](https://en-za.wordpress.org/plugins/categories-images/),
   [English (UK)](https://en-gb.wordpress.org/plugins/categories-images/), [English (US)](https://wordpress.org/plugins/categories-images/),
   [French (France)](https://fr.wordpress.org/plugins/categories-images/), [German](https://de.wordpress.org/plugins/categories-images/),
   [Italian](https://it.wordpress.org/plugins/categories-images/), [Norwegian (Bokmål)](https://nb.wordpress.org/plugins/categories-images/),
   [Polish](https://pl.wordpress.org/plugins/categories-images/), [Portuguese (Portugal)](https://pt.wordpress.org/plugins/categories-images/),
   [Romanian](https://ro.wordpress.org/plugins/categories-images/), [Russian](https://ru.wordpress.org/plugins/categories-images/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/categories-images/), [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/categories-images/),
   [Spanish (Spain)](https://es.wordpress.org/plugins/categories-images/), [Spanish (Venezuela)](https://ve.wordpress.org/plugins/categories-images/),
   [Swedish](https://sv.wordpress.org/plugins/categories-images/) og [Ukrainian](https://uk.wordpress.org/plugins/categories-images/).
 *  [Oversæt til dit sprog](https://translate.wordpress.org/projects/wp-plugins/categories-images)
 * Tags
 * [Categories Images](https://da.wordpress.org/plugins/tags/categories-images/)
   [category image](https://da.wordpress.org/plugins/tags/category-image/)[Tag image](https://da.wordpress.org/plugins/tags/tag-image/)
   [taxonomy image](https://da.wordpress.org/plugins/tags/taxonomy-image/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/categories-images/advanced/)

## Bedømmelser

 4.5 ud af 5 stjerner.

 *  [  67 5-stjernet anmeldelser     ](https://wordpress.org/support/plugin/categories-images/reviews/?filter=5)
 *  [  8 4-stjernet anmeldelser     ](https://wordpress.org/support/plugin/categories-images/reviews/?filter=4)
 *  [  1 3-stjernet anmeldelse     ](https://wordpress.org/support/plugin/categories-images/reviews/?filter=3)
 *  [  4 2-stjernet anmeldelser     ](https://wordpress.org/support/plugin/categories-images/reviews/?filter=2)
 *  [  6 1-stjernet anmeldelser     ](https://wordpress.org/support/plugin/categories-images/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/categories-images/reviews/#new-post)

[Se alle anmeldelser.](https://wordpress.org/support/plugin/categories-images/reviews/)

## Bidragsydere

 *   [ Zahlan ](https://profiles.wordpress.org/elzahlan/)

## Support

Problemerne er løst inden for de sidste to måneder:

     1 ud af 1

 [Vis supportforum](https://wordpress.org/support/plugin/categories-images/)