🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Konto Get it free
Kama Thumbnail icon
aktiv gepflegt Getestet mit WP 7.1 #37 in image

Kama Thumbnail

Convenient way to create post thumbnails on the fly without server overload.

Aktive Installationen8K+5K + Stufe
Downloads · 30d1.5K▼ -32.4% vs prev. 30d
Wertung4.7/515 Bewertungen
Gesundheits-Score79/100Gut
Downloads aller Zeiten126.1KSince Aug 2015
Unterstützung gelöst—Keine aktuellen Threads
erfordertWP 4.7PHP 7.1+
Downloads · 7d323• +0.3% week over week
Unser Urteil

Solide Wahl

Kama Thumbnail is a solid plugin choice in 2026, with a few things worth checking first. It runs on 8K+ sites, is rated 4.7/5 and was last updated 2 months ago, and scores 79/100 on our health check.

  • Getestet mit dem neuesten WordPress (7.1)

Wie stapelt es sich?

Side-by-side bei Installationen, Updates, Bewertungen und Support

Tägliche Downloads

133267400Sep 5Oct 19Dec 3
Gestern44
Täglicher Durchschnitt (1 Jahr)18
Spitzentag53417.10.2026
Letzte 12 Monate6.7K

Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.

Ranglisten

Where Kama Thumbnail stands today

WordPress.org Ranglisten suchen

Live-Position in der Plugin-Suche, Top 100
StichwortPositionKonkurrierende PluginsKategorie
image >100 10,000 Best image plugins →
thumbnail #2 4,805 Best thumbnail plugins →

Versionsübernahme

Anteil aktiver Sites pro Release.

  • 3.582.6%
  • 3.36.3%
  • 2.85.2%
  • Andere5.9%

Bewertungsaufschlüsselung

★★★★★★★★★★ 4.7 from 15 reviews

  • 5★93.3%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★6.7%

About Kama Thumbnail

Aus der offiziellen Readme · V3.5.2

Beschreibung

Convenient way to create post thumbnails on the fly without server overload.

The best alternative to scripts like “thumbnail.php”.

Supports Multisite.

Verwendung

The plugin for developers firstly, because it don’t do anything after install. In order to the plugin begin to work, you need use one of plugin function in your theme or plugin. Example:

<?php echo kama_thumb_img( 'w=150 &h=150' ); ?>

Using the code in the loop you will get ready thumbnail IMG tag. Plugin takes post thumbnail image or find first image in post content, resize it and create cache. Also creates custom field for the post with URL to original image. In simple words it cache all routine and in next page loads just take cache result.

You can make thumbs from custom URL, like this:

The URL_TO_IMG must be from local server: by default, plugin don’t work with external images, because of security. But you can set allowed hosts on settings page: Settings > Media.

All plugin functions:

// return thumb url URL
echo kama_thumb_src( $args, $src );

// return thumb IMG tag
echo kama_thumb_img( $args, $src );

// return thumb IMG tag wraped with <a>. A link of A will leads to original image.
echo kama_thumb_a_img( $args, $src );

// to get image width or height after thumb creation
echo kama_thumb( $optname );
// ex:
echo '<img src="'. kama_thumb_src('w=200') .'" width="'. kama_thumb('width') .'" height="'. kama_thumb('height') .'" alt="" />';

Parameters:

  • $args (array/string)
    Arguments to create thumb. Accepts:

    • w | width
      (int) desired width.

    • h | height
      (int) desired height.

      if parameters w and h not set, both of them became 100 – square thumb 100х100 px.

    • notcrop
      (isset) if set crop parameter become false – crop=false.

    • crop
      (isset) Control image cropping. By default always true.

      To disable cropping set here false/0/no/none or set parameter 'notcrop'. Then image will not be cropped and will be created as small copy of original image by sizes settings of one side: width or height – here plugin select the smallest suitable side. So one side will be as it set in w or h and another side will be smaller then w or h.

      Cropping position

      Also, you can specify string: 'top', 'bottom', 'left', 'right' or 'center' and any other combinations of this strings glued with /. Ex: 'right/bottom'. All this will set cropping area:

      • 'left', 'right' – horizontal side (w)
      • 'top', 'bottom' – vertical side (h)
      • 'center' – for both sides (w and h)

      When only one value is set, the other will be by default. By default: 'center/center'.

      Beispiele:

      // image will be reduced by height, and width will be cropped.
      // "right" means that right side of image will be shown and left side will be cut.
      kama_thumb_img('w=200 &h=400 &crop=right');
      
      // image will be redused by width, and height will be cropped.
      // "top" means that the top of the image will be shown and bottom side will be cut.
      kama_thumb_img('w=400 &h=200 &crop=top');
      
      // you can specify two side position at once, order doesn't matter
      kama_thumb_img('w=400 &h=200 &crop=top/right');
      

      Reduce image by specified side

      In order to get not cropped proportionally rediced image by specified side: by width or height. You need specify only width or only height, then other side will be reduced proportional. And no cropping will appear here.

      kama_thumb_img('w=200');
      

      So, width of our image will be 200, and height will be as it will…
      Теперь ширина всегда будет 200, а высота какая получится… And the picture will be always full, without cropping.

    • q | quality
      (int) jpg compression quality (Default 85. max.100)

    • stub_url
      (string) URL to no_photo image.

    • alt
      (str) alt attr of img tag.

    • title
      (str) title attr of img tag.

    • class
      (str) class attr of img tag.

    • style
      (str) style attr of img tag.

    • attr
      (str) Allow to pass any attributes in IMG tag. String passes in IMG tag as it is, without escaping.

    • a_class
      (str) class attr of A tag.

    • a_style
      (str) style attr of A tag.

    • a_attr
      (str) Allow to pass any attributes in A tag. String passes in A tag as it is, without escaping.

    • no_stub
      (isset) don’t show picture stub if there is no picture. Return empty string.

    • yes_stub
      (isset) show picture stub if global option in option disable stub showing, but we need it…

    • post_id | post
      (int|WP_Post) post ID. It needs when use function not from the loop. If pass the parameter plugin will exactly knows which post to process. Parametr ‘post’ added in ver 2.1.

    • attach_id
      (int) ID of wordpress attachment image. Also, you can set this parametr by pass attachment ID to ‘$src’ parament – second parametr of plugin functions: kama_thumb_img('h=200', 250) or kama_thumb_img('h=200 &attach_id=250')

    • allow
      (str) Which hosts are allowed. This option sets globally in plugin setting, but if you need allow hosts only for the function call, specify allow hosts here. Set ‘any’ to allow to make thumbs from any site (host).

  • $src
    (string) URL to any image. In this case plugin will not parse URL from post thumbnail/content/attachments.

    If parameters passes as array second argument $src can be passed in this array, with key: src или url или link или img:

        echo kama_thumb_img( array(
            'src' => 'http://yousite.com/IMAGE_URL.jpg',
            'w' => 150,
            'h' => 100,
        ) );
    

Notizen

  1. You can pass $args as string or array:

        // string
        kama_thumb_img('w=200 &h=100 &alt=IMG NAME &class=aligncenter', 'IMG_URL');
    
        // array
        kama_thumb_img( array(
            'width'  => 200,
            'height' => 150,
            'class'  => 'alignleft'
            'src'    => ''
        ) );
    
  2. You can set only one side: width | height, then other side became proportional.

  3. src parameter or second function argument is for cases when you need create thumb from any image not image of WordPress post.
  4. For test is there image for post, use this code:

        if( ! kama_thumb_img('w=150&h=150&no_stub') )
            echo 'NO img';
    

Beispiele

#1 Get Thumb

In the loop where you need the thumb 150х100:

<?php echo kama_thumb_img('w=150 &h=100 &class=alignleft myimg'); ?>

Result:

<img src='thumbnail_URL' alt='' class='alignleft myimg' width='150' height='100'>

#2 Not show stub image

<?php echo kama_thumb_img('w=150 &h=100 &no_stub'); ?>

#3 Get just thumb URL

<?php echo kama_thumb_src('w=100&h=80'); ?>

Result: /wp-content/cache/thumb/ec799941f_100x80.png

This url you can use like:

<img src='<?php echo kama_thumb_src('w=100 &h=80 &q=75'); ?>' alt=''>

#4 kama_thumb_a_img() function

<?php echo kama_thumb_a_img('w=150 &h=100 &class=alignleft myimg &q=75'); ?>

Result:

<a href='ORIGINAL_URL'><img src='thumbnail_URL' alt='' class='alignleft myimg' width='150' height='100'></a>

#5 Thumb of any image URL

Pass arguments as array:

<?php
    echo kama_thumb_img( array(
        'src' => 'http://yousite.com/IMAGE_URL.jpg',
        'w' => 150,
        'h' => 100,
    ) );
?>

Pass arguments as string:

<?php
    echo kama_thumb_img('w=150 &h=200 ', 'http://yousite.com/IMAGE_URL.jpg');
?>

When parameters passes as string and “src” parameter has additional query args (“src=$src &w=200” where $src = http://site.com/img.jpg?foo&foo2=foo3) it might be confuse. That’s why “src” parameter must passes as second function argument, when parameters passes as string (not array).

#6 Parameter post_id

Get thumb of post ID=50:

<?php echo kama_thumb_img("w=150 &h=100 &post_id=50"); ?>

I don’t need plugin

This plugin can be easily used not as a plugin, but as a simple php file.

If you are themes developer, and need all it functionality, but you need to install the plugin as the part of your theme, this short instruction for you:

  1. Create folder in your theme, let it be ‘thumbmaker’ – it is for convenience.
  2. Download the plugin and copy the files: class.Kama_Make_Thumb.php and no_photo.jpg to the folder you just create.
  3. Include class.Kama_Make_Thumb.php file into theme functions.php, like this:
    require ‘thumbmaker/class.Kama_Make_Thumb.php’;
  4. Bingo! Use functions: kama_thumb_*() in your theme code.
  5. If necessary, open class.Kama_Make_Thumb.php and edit options (at the top of the file): cache folder URL/PATH, custom field name etc.
  • Conditions of Use – mention of this plugin in describing of your theme.

Installation

Instalation via Admin Panel

  1. Go to Plugins > Add New > Search Plugins enter “Kama Thumbnail”
  2. Find the plugin in search results and install it.

Instalation via FTP

  1. Download the .zip archive
  2. Open /wp-content/plugins/ directory
  3. Put kama-thumbnail folder from archive into opened plugins folder
  4. Activate the Kama Thumbnail in Admin plugins page
  5. Go to Settings > Media page to customize plugin

Änderungsprotokoll

3.5.2

  • SEC: Protect cache clearing AJAX requests from Cross-Site Request Forgery (CSRF).

3.5.1

  • CHG: Options Page Moved from Media page to separate page.
  • CHG: Minor improvements.
  • IMP: Note if ini_get( 'max_execution_time' ) === 0.

3.5.0

  • CHG: !IMPORTANT All core classes moved under Kama_Thumbnail namespace. So if you use such classes as Kama_Thumbnail or Kama_Make_Thumb directly – You need to update your code to use namespase. Example: Kama_Thumbnail_Helpers::parse_main_dom() >>> \Kama_Thumbnail\Helpers::parse_main_dom() OR new Kama_Make_Thumb() >>> new \Kama_Thumbnail\Make_Thumb().
  • CHG: CHMOD Options moved: Kama_Make_Thumb::$CHMOD_DIR >>> kthumb_opt()->CHMOD_DIR and Kama_Make_Thumb::$CHMOD_FILE >>> kthumb_opt()->CHMOD_FILE
  • NEW: $src parameter now understand Attachment ID|Attachment Object|WP_Post.
  • NEW: no_photo_url option now supports attachment ID as a value.
  • NEW: Delete cached thumbnails of deleted attachment.
  • IMP: Unit test improvements.
  • IMP: src value moved to srcset and src now contains the original URL.
  • IMP: decoding="async" by default for kama_thumb_img().
  • IMP: Checks the cache_dir path before deleting all files. This is to avoid accidentally deleting files in another directory. Now cache folder must contain one of substring cache or thumb.
  • BUG: Type hint in get_src_from_text() method.
  • BUG: kama_thumb__img_attrs hook support srcset attribute bugfix.
  • BUG: stub need to be created when url with not allowed domain was passed. But the stub was created in the path of the normal image.
  • BUG: Bug fix with symbolic links in WP_PLUGIN_DIR|WPMU_PLUGIN_DIR paths.

3.4.2

  • NEW: Option to delete single IMG cache by image/thumb URL or attachment ID.
  • NEW: CLI command to delete single IMG cache.
  • CHG: IMPORTANT – now requires PHP 7.2 (was 5.6).
  • IMP: Refactoring and improvements.
  • IMP: Unit tests.

3.4.1

  • BUG: Uninstall.php bugfix.

3.4.0

  • NEW: hook: ‘kama_thumbnail__allowed_hosts’.
  • FIX: Bugfixes from last refactor.
  • IMP: Code improvements.
  • IMP: Huge refactor.

Vollständiges Änderungsprotokoll auf WordPress.org →

Screenshots

Setting block on standart "Media" admin page.
Setting block on standart "Media" admin page.

Für Entwickler

Ist das dein Plugin? Zeigen Sie die Zahlen.

Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.

Aktiv installiert Badge Bewertungsabzeichen Gesundheits-Score-Abzeichen

Best Kama Thumbnail alternatives

All image plugins →
Alternativen
Rang Plugin Aktive Installationen Wertung Aktualisierten Gesundheit
1 Imsanity Imsanity Automatically resizes huge image uploads. Are contributors uploading huge photos? Tired of… by Shane Bishop 200K+ ★★★★★★★★★★ 4.9 (291) Vor 4 Monaten 71
2 Feuerlicht-Lichtkasten Feuerlicht-Lichtkasten Früher einfach Fancybox. Das beliebteste WordPress Lightbox-Plugin. Einfach, schnell und… durch Feuerschein 200K+ ★★★★★★★★★★ 4.8 (367) Vor 4 Wochen 95
3 Responsive Lightbox & Galerie Responsive Lightbox & Galerie Das beliebteste Lightbox-Plugin und Responsive Gallery Builder für WordPress. von dFactory 100K+ ★★★★★★★★★★ 4.9 (2K) Vor 1 Woche 81
4 Einfacher Leuchtkasten Einfacher Leuchtkasten Der hochgradig anpassbare Lightbox für WordPress von archetypisiert 100K+ ★★★★★★★★★★ 4.3 (240) Vor 3 Monaten 74
5 reSmush.it : The original free image compressor and optimizer plugin reSmush.it reSmush.it is the FREE image compressor and optimizer plugin - use it to optimize your… by ShortPixel 100K+ ★★★★★★★★★★ 4.3 (166) Vor 4 Monaten 83
6 Image Widget Image Widget A simple image widget that uses the native WordPress media manager to add image widgets to… von Nexcess 100K+ ★★★★★★★★★★ 4.9 (287) Vor 8 Monaten 58
7 Menu Image, Icons made easy Menu Image, Icons made easy Adds an image or icon in the menu items. You can choose the position of the image (after… by Rui Guerreiro 100K+ ★★★★★★★★★★ 4.5 (123) Vor 1 Jahr 39
8 ImageMagick Engine ImageMagick Engine Improve the quality of re-sized images by replacing standard GD library with ImageMagick. by Rickard Westerlind 60K+ ★★★★★★★★★★ 4.4 (16) Vor 1 Woche 73
9 Simple Image Sizes Simple Image Sizes This plugin lets you create custom image sizes for your site. Override your theme sizes… by Nicolas Juen 60K+ ★★★★★★★★★★ 4.6 (91) Vor 4 Monaten 68
10 Alles in einem Favicon Alles in einem Favicon Fügen Sie Ihrer Website und den WordPress-Administrationsseiten ganz einfach ein Favicon hinzu. Komplett mit Upload… Von Garrett Grimm 50K+ ★★★★★★★★★★ 4.5 (82) Vor 3 Jahren 46

Fragen und Antworten

Kama Thumbnail: quick answers

Gerade Antworten, gezogen von Live WordPress.org Daten.

Quelle: WordPress.org

Is Kama Thumbnail free?

Yes. Kama Thumbnail is free to download and use from the official WordPress.org plugin directory.

Is Kama Thumbnail safe to use in 2026?

Kama Thumbnail is a solid plugin choice in 2026, with a few things worth checking first. It runs on 8K+ sites, is rated 4.7/5 and was last updated 2 months ago, and scores 79/100 on our health check.

How many websites use Kama Thumbnail?

Kama Thumbnail is active on 8K+ WordPress websites and has been downloaded 126,128 times since it launched in August 2015. It was downloaded 1,549 times in the last 30 days.

Does Kama Thumbnail work with WordPress 7.1?

Yes. The developer has tested Kama Thumbnail up to WordPress 7.1.5, the latest release. It requires WordPress 4.7 or newer.

What PHP version does Kama Thumbnail need?

Kama Thumbnail requires PHP 7.1 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Kama Thumbnail last updated?

The latest version, 3.5.2, was released on October 16, 2026 (2 months ago).

Who makes Kama Thumbnail?

Kama Thumbnail is developed and maintained by Timur Kamaev.

What are the best alternatives to Kama Thumbnail?

The most popular alternatives to Kama Thumbnail are Imsanity (200K+ installs), Firelight Lightbox (200K+ installs) and Responsive Lightbox & Galle… (100K+ installs).

Angetrieben von PageForge

Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.

PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.

  • CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
  • seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
  • Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
  • Kostenlos auf WordPress.org, keine Kreditkarte

↑↓ bewegen↵ öffnen