🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
thumbGen icon
Peut-être abandonné Tested up to 4.1.42 #28 in generator

thumbGen

This plugin creates a function named thumbGen() that allows to show any image in the specified size (plus many other things).

Installations actives100+100+ niveaux
Téléchargements · 30D242▲ +23.5% vs prev. 30d
Évaluation3/52 avis
Score de santé26/100En danger
Téléchargements de tous les temps13.9KDepuis février 2010
Support résolu—Aucun fil de discussion récent
A besoin deWP 2.9.0Php tout
Téléchargements · 7j62▲ +17% week over week
Notre verdict

Envisager une alternative

thumbGen shows warning signs in 2026 — compare the alternatives below before installing. It runs on 100+ sites, is rated 3/5 and was last updated 12 years ago, and scores 26/100 on our health check.

  • Petite base d'utilisateurs (plus de 100 installations actives)
  • Très peu de critiques jusqu'à présent
  • Pas de mise à jour dans 11 ans
  • Uniquement testé jusqu'à WordPress 4.1 (le dernier est de 7,1)

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

3711Sep 1Oct 15Nov 29
Hier8
Moyenne quotidienne (1 ans)5
Jour de pointe23Apr 19, 2026
12 Derniers mois1.7K

Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.

Classements

Where thumbGen stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
generator >100 3,979 Best generator plugins →
image >100 10,000 Les meilleurs plugins d'images →
images >100 10,000 Les meilleurs plugins d'images →
thumb >100 518 Best thumb plugins →
la vignette >100 4,761 Meilleurs plugins de vignettes →

Adoption de version

Part de sites actifs par version.

  • 2.790.7%
  • 2.59.3%

Répartition des notes

★★★★★ ★★★★★ 3 sur 2 avis

  • 5★50.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★50.0%

About thumbGen

À partir du Lisezmoi officiel · v2.7.1

Description

This plugin is made for developers.

It creates a function named thumbGen() that allows to show any image in the specified size. Additionally you can specify values like crop, center, rotation and effects.

It saves all generated thumbs in a cache folder, so it won’t overload your server at all.

Usage

To use this function you just need to use this line code:

<?php thumbGen(image,width,height,additional_parameters); ?>

[image:] the URL of the original image you need to create a thumbnail from (needed).

[width:] the width you need for the generated thumbnail (default=0 – if not specified it gets the
proportional value from the specified height).

[height:] the height you need for the generated thumbnail (default=0 – if not specified it gets the proportional value from the specified width).

note: if you don’t specify the with AND height (or if you set both to 0), the image will be generated in the source size.

Additional parameters

[filename:] some people have troubles with duplicated names, so I’ve added this parameter for you to specify a new filename (or ID or something like that) in order to differentiate each file (if not set it will use the source filename).

[md5:] by default, the images are generated with an md5 encode filename. If you don’t want the generated file to have an encoded name set this to 0

[force:] force thumb creation, even if it already exists (default=0) (NOT RECOMENDED! – use it just for testing or debugging)

[crop:] if you want the thumbnail to be cropped (no image deformation) if the width and height are different from the original image, set this value as 1 or true. If you want the content of the thumbnail to be resized to fit the space (image deformation) set this to 0 or false (default=1).

[halign:] horizontal align of the croped image. You can set it to left, center or right (default=center)

[valign:] vertical align of the croped image. You can set it to top, center or bottom (default=center)

[effect:] you can apply two effects: grayscale and sephia

[rotate:] you can specify a rotation angle

[background:] hex color (like #ffffff) to apply on the background ONLY when you rotate the image. If you don’t want a color applied you can set this to transparent (default=transparent)

[return:] if set to 1 (or true) the image name will be returned instead of printed (default=0).

[preserveAnimation:] if set to 1 (or true) it will show animated gif’s with motion but without applying other parameters. Otherwise, it will show the first frame of the animated gif resized.

[quality:] you can chooos from 0 to 9, where 0 is the worst quality (lower file size) and 9 is the best (bigger file size). The default value is 7.

Examples of usage

In this example I will not explain detailed how this WordPress code works, but I will show this as an example of this plugin usage:

<?php
$img="";
$args = array(
'post_parent'    => $post->ID,
'post_type'      => 'attachment',
'numberposts'    => 1,
'post_mime_type' => 'image'
);
$attachs = get_posts($args);
if ($attachs) {
$img=wp_get_attachment_image_src($attachs[0]->ID,'full');
}
if(!empty($img)){
?>
<img src='<?php thumbGen($img[0],171,56,"effect=grayscale&halign=left&valign=top"); ?>' alt='' />
<?php
}
?>

This example reads the first attached image of a post and save it’s information in a variable called $img. In the thumbGen function the first parameter is $img[0] and that’s the image URL. The second and third parameters are the width and height of the generated thumbnail we need. The rest of the parameters are defined in the string in the format parameter=value, concatenated with an &. the values not specified will use their default value.

Installation

Just donwload the zip file, upload it to your wordpress via install plugins page (or uncompress it to your wordpress wp-content/plugins/ folder) and activate it. Once activated se the main folder and default image (in settings/thumbGen) and the plugin is ready to be used by calling its main function (see “Usage” section below).

Journal de modifications

2.7.1

  • IMPROVED: better compatibility with older installations (refering to the black images problem)

2.7

  • FIXED: Problem with black when using with WordPress on folders (now is working on multisite installations and WordPress installed in the root or folders)
  • IMPROVED: Minor code changes

2.6.1

  • FIXED: Problem with the multisite installation (thanks to Samuel Arendt)

2.6

  • FIXED: Problem with the routes when the blog is inside a folder instead of the root (thanks to @atorresg)
  • FIXED: Problem when opening files with strange characters (thanks to @javiarques)
  • ADDED: New argument “preserveAnimation” to show animated gifs (when using this, all other args won’t work)
  • ADDED: New argument “quality” to select the output quality (from 0: worst quality to 9: best quality). This work equally for jpg and png format

2.5.6

  • IMPROVED: Adapted the image URL to open: if it starts with the same HTTP_HOST, it is removed from the image URL. This fixes errors on some blocked servers

2.5.5

  • ADDED: A fix for $_SERVER[‘REMOTE_ADDR’] on some windows servers (thanks Samuelm)

Journal des modifications complet sur WordPress.org →

Pour les développeurs

Est-ce votre plugin ? Montrez les chiffres.

Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.

Badge d'installations actives Badge Badge de score de santé

Best thumbGen alternatives

All generator plugins →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
1 Page Plan du site WP Page Plan du site WP Ajoutez un sitemap sur l'une de vos pages en utilisant le simple shortcode [wp_sitemap_page]. Améliorez le… de Tony Archambeau 200K+ ★★★★★★★★★★ 4.8 (205) Il y a 3 mois 70
2 Générateur de barre latérale SMK Générateur de barre latérale SMK Créez des barres latérales et des zones de widgets personnalisées illimitées. Afficher différentes barres latérales sur des… par Andrei Surdu 10K+ ★★★★★★★★★★ 4.4 (5) il y a 10 mois 55
3 Child Theme Wizard Child Theme Wizard Creates a child theme from any installed parent theme with just one click. by Jay Versluis 10K+ ★★★★★★★★★★ 4.9 (36) il y a 5 mois 75
4 FakerPress FakerPress FakerPress is a clean way to generate fake and dummy content to your WordPress, great for… by Gustavo Bordoni 10K+ ★★★★★★★★★★ 4.9 (205) Il y a 2 semaines 94
5 Heroic Favicon Generator Heroic Favicon Generator Heroic Favicon Generator is your one-click favicon generator for WordPress. by HeroThemes 6K+ ★★★★★★★★★★ 5 (17) Il y a 5 ans 41
6 WPS Child Theme Generator WPS Child Theme Generator Create your child theme with options. Customize it many options. par Nicolaskulka 6K+ ★★★★★★★★★★ 5 (2) il y a 4 mois 69
7 Générateur LLMS.TXT et LLMS-FULL.TXT Générateur LLMS.TXT et LLMS-FULL.TXT Générez des fichiers LLMS.txt structurés pour WordPress afin d'optimiser l'interaction du modèle d'IA avec votre… par visibilité.so 5K+ ★★★★★★★★★★ 5 (7) 3 semaines plus tôt 79
8 Simple XML Sitemap Generator Simple XML Sitemap Generator add a sitemap to your wordpress website. Par Eric-Oliver Mächler 3K+ ★★★★★★★★★★ 4.6 (11) Il y a 3 mois 77
9 Browser Screenshots Browser Screenshots Automate the process of taking website screenshots. by Kevin Leary 3K+ ★★★★★★★★★★ 4.8 (19) Il y a 3 ans 39
10 PDF Thumbnail Generator PDF Thumbnail Generator Generates thumbnail for PDF files par Kubiq 2K+ ★★★★★★★★★★ 5 (5) il y a 12 mois 55

FAQ

thumbGen: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : WordPress.org

Is thumbGen free?

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

Is thumbGen safe to use in 2026?

thumbGen shows warning signs in 2026 — compare the alternatives below before installing. It runs on 100+ sites, is rated 3/5 and was last updated 12 years ago, and scores 26/100 on our health check.

How many websites use thumbGen?

thumbGen is active on 100+ WordPress websites and has been downloaded 13,918 times since it launched in February 2010. It was downloaded 242 times in the last 30 days.

Does thumbGen work with WordPress 7.1?

thumbGen is officially tested up to WordPress 4.1.42, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was thumbGen last updated?

The latest version, 2.7.1, was released on January 30, 2015 (12 years ago).

Who makes thumbGen?

thumbGen is developed and maintained by sebastianbarria.

What are the best alternatives to thumbGen?

The most popular alternatives to thumbGen are WP Sitemap Page (200K+ installs), SMK Sidebar Generator (10K+ installs) and Child Theme Wizard (10K+ installs).

Propulsé par PageForge

Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.

PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.

  • CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
  • Son propre titre, URL, SEO champs et schéma pour chaque page
  • Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
  • Gratuit sur WordPress.org, pas de carte de crédit

↑↓ bouger↵ ouvrir