Title: Easy Add Thumbnail
Author: Samuel Aguilera
Published: <strong>18 Marzo 2010</strong>
Last modified: 5 Ottobre 2023

---

Ricerca i plugin

Questo plugin **non è stato testato con le ultime 3 versioni principali (major releases)
di WordPress**. Potrebbe non essere più mantenuto, o supportato, e potrebbe presentare
problemi di compatibilità se utilizzato con versioni più recenti di WordPress.

![](https://s.w.org/plugins/geopattern-icon/easy-add-thumbnail.svg)

# Easy Add Thumbnail

 Di [Samuel Aguilera](https://profiles.wordpress.org/samuelaguilera/)

[Scarica](https://downloads.wordpress.org/plugin/easy-add-thumbnail.1.1.3.zip)

 * [Dettagli](https://it.wordpress.org/plugins/easy-add-thumbnail/#description)
 * [Recensioni](https://it.wordpress.org/plugins/easy-add-thumbnail/#reviews)
 *  [Installazione](https://it.wordpress.org/plugins/easy-add-thumbnail/#installation)
 * [Sviluppo](https://it.wordpress.org/plugins/easy-add-thumbnail/#developers)

 [Supporto](https://wordpress.org/support/plugin/easy-add-thumbnail/)

## Descrizione

**NOTE: This plugin functionality is guaranteed by more than 10,000 active installs.
But before installing this plugin bear in mind that its only purpose is to ADD the
feature image ID to your post (in the same way that you would do using WP editor),
it does not remove ANYTHING after deactivation.
 Before asking for support please
read [FAQ](https://wordpress.org/plugins/easy-add-thumbnail/faq/) and [this support thread](https://wordpress.org/support/topic/please-read-before-posting-4)

#### Come funziona?

Checks if the post (any post type with thumbnail support, including pages) has already
a featured image associated, and if not sets it using one of the following methods:

 1. Dynamically, for old published posts, the featured images are set only when needed
    to show them in the frontend. This means that the featured image is set (only first
    time) when a visitor loads the page where it needs to be shown.
 2. For new content, the featured image is set in the publishing process.

**No options page to setup**, simply install and activate.

If you want to exclude certain post type (e.g. pages), you can do it by using a 
filter. See [FAQ](https://wordpress.org/plugins/easy-add-thumbnail/faq/) for more
details.

**Easy Add Thumbnail doesn’t add any plugin data** to your WordPress database. It
simply adds the _thumbnail_id meta key with the ID of the attachment to be used 
as feature image (just the same that WordPress does when you set it manually).

Therefore it requires to have attached/uploaded at least one image to the post. 
If there’s not any image attached to the post, this plugin can’t help you.

Easy Add Thumbnail has not any control over how/when/where your featured image is
displayed in your site, **the display of the featured image in your site is TOTALLY
controlled by your theme**, this includes size, position, display it or not…

#### Requirements

 * WordPress 4.7 or higher.
 * PHP 5.6 or higher.

## Installazione

 * Extract the zip file and just drop the contents in the `wp-content/plugins/` 
   directory of your WordPress installation (or install it directly from your dashboard)
   and then activate the Plugin from Plugins page.

**IMPORTANT!** Remember that your theme must support the use of thumbnails, if not,
the thumbnail information will be set in the database but you’ll not see them in
your site.

## FAQ

### Can I use this plugin for setting featured image using some image not attached to the post?

No. This plugin uses only standard WordPress functions to set the featured image.
And using this standard (and friendly) method WordPress simply has not any knowing
about images not attached to the post.

### How can I check if a post has “attached” images?

In that post edit screen, click the “Add Media button”, then click to “Media Library”
tab, and select “Uploaded to this post” in the dropdown, you must see at least one
image. If you see the “No items found.” message, that means that your images were
not uploaded within that post. And therefore, the plugin can’t use any image to 
set as feature image.

If you can see images when selecting “Uploaded to this post” but the plugin is not
using it for feature image. You need to try for theme/plugins conflicting. Try using
a WordPress default theme (i.e. Twenty Fifteen) and disabling all other plugins.

### My theme is showing big images instead of thumbnail sizes, what happens?

As stated above this plugin uses standard WordPress method to set the featured image,
this does not include any size information. **The size used by your theme for displaying
image thumbnails depends totally on how your theme was coded.**

Contact to your theme author for support if you’re having this problem.

You can find more information about how to properly show thumbnails in your theme
on codex reference for [the_post_thumbnail](https://codex.wordpress.org/Function_Reference/the_post_thumbnail)(
check ‘Thumbnail Sizes’ section) and [set_post_thumbnail_size](https://codex.wordpress.org/Function_Reference/set_post_thumbnail_size)
functions.

### How can I exclude pages or other post types ?

If you don’t want to use Easy Add Thumbnail for your pages or any other post type,
you can exclude them by simply adding a little snippet of code to your theme functions.
php file **before enabling the plugin**.
 The following example will exclude pages:

    ```
    add_filter ('eat_exclude_types', 'my_excluded_types', 10, 1);
    function my_excluded_types ( $exclude_types ){
        $exclude_types[] = 'page'; 
        return $exclude_types;
    }
    ```

If you want to exclude a custom post type you need to know the value of ‘name’ used
in [register_post_type()](https://codex.wordpress.org/Function_Reference/register_post_type)
function for registering that post type.
 e.g. If you have a custom post type and
its ‘name’ is ‘book’ the you’ll use:

    ```
    add_filter ('eat_exclude_types', 'my_excluded_types', 10, 1);
    function my_excluded_types ( $exclude_types ){
        $exclude_types[] = 'book'; 
        return $exclude_types;
    }
    ```

If you want to exclude more than one post type just duplicate the $exclude_types[]
line for each one.

**This snippet must be added to your site BEFORE enabling Easy Add Thumbnail in 
your site**,
 if you add it later it will stop assigning the thumbnails for new 
posts in the excluded types after that moment, previous posts will not be modified.

### Is the post thumbnail and featured image the same?

Yes. When I released first version of this plugin years ago, featured images was
named as [post thumbnails](https://codex.wordpress.org/Post_Thumbnails), but later
WordPress team decided to change the name to “featured image”.

In fact, WordPress core functions for featured image, still uses original [thumbnail](https://codex.wordpress.org/Function_Reference/the_post_thumbnail)
names.

That’s because the plugin name (that can’t be changed in the Extend directory without
having issues) says “thumbnail”.

### Will this plugin works in WordPress older than 4.7?

Maybe, but WordPress installs older than 4.7 are not supported by me. **Try at your
own risk**.

## Recensioni

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

### 󠀁[requires you to modify code if you want to exclude pages](https://wordpress.org/support/topic/requires-you-to-modify-code-if-you-want-to-exclude-pages/)󠁿

 [yourautisticlife](https://profiles.wordpress.org/yourautisticlife/) 12 Gennaio
2025

That’s exactly what I DO NOT WANT TO DO. Many years ago, I had an installation which
required custom code. It was a pain to maintain.

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

### 󠀁[Perfect!](https://wordpress.org/support/topic/perfect-9658/)󠁿

 [stanilund](https://profiles.wordpress.org/stanilund/) 19 Dicembre 2022

Does exactly what is expected, nothing less, nothing more.

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

### 󠀁[Fantástico](https://wordpress.org/support/topic/fantastico-302/)󠁿

 [Yorsh](https://profiles.wordpress.org/australmaster/) 12 Agosto 2022

Funciona a la perfección. Lo utilicé luego de migrar una web que no contaba con 
imagen destacada. Ahora, una mejora interesante es que se pueda especificar el post-
type al que se quiere intervenir; también, poder determinar que se lance únicamente
cuando subas imágenes al post.

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

### 󠀁[Just cool!](https://wordpress.org/support/topic/just-cool-8/)󠁿

 [deepcore2](https://profiles.wordpress.org/deepcore2/) 20 Giugno 2022

Very nice, simple, super effective plugin. It would be nice to set a default image
as a “no image here” like image if no images are in the post.

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

### 󠀁[Very helpful and reliable!](https://wordpress.org/support/topic/very-helpful-and-reliable-3/)󠁿

 [brandonjp](https://profiles.wordpress.org/brandonjp/) 22 Maggio 2022

Really great plugin. Simple and effective. And very clean code.

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

### 󠀁[Simple and effective](https://wordpress.org/support/topic/simple-and-effective-1361/)󠁿

 [wesleytech](https://profiles.wordpress.org/wesleytech/) 13 Febbraio 2022

Great plugin that does what it says, adds featured images from the first image in
each post when a featured image hasn’t been set. Easy Peazy. Helps tremendously 
with magazine themes and others that expect a featured image. Thanks for the excellent
plugin!

 [ Leggi tutte le recensioni di 52 ](https://wordpress.org/support/plugin/easy-add-thumbnail/reviews/)

## Contributi e sviluppo

“Easy Add Thumbnail” è un software open source. Le persone che hanno contribuito
allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

 *   [ Samuel Aguilera ](https://profiles.wordpress.org/samuelaguilera/)

“Easy Add Thumbnail” è stato tradotto in 2 lingue. Grazie a [chi traduce](https://translate.wordpress.org/projects/wp-plugins/easy-add-thumbnail/contributors)
per il contributo.

[Traduci “Easy Add Thumbnail” nella tua lingua.](https://translate.wordpress.org/projects/wp-plugins/easy-add-thumbnail)

### Ti interessa lo sviluppo?

[Esplora il codice](https://plugins.trac.wordpress.org/browser/easy-add-thumbnail/)
segui il [repository SVN](https://plugins.svn.wordpress.org/easy-add-thumbnail/),
segui il [log delle modifiche](https://plugins.trac.wordpress.org/log/easy-add-thumbnail/)
tramite [RSS](https://plugins.trac.wordpress.org/log/easy-add-thumbnail/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1.3

 * More changes for coding standards, now the entire file is 100% conform to WordPress
   Coding Standards. This doesn’t means any change in the plugin functionality, 
   it’s just code cosmetic.

#### 1.1.2

 * Minor coding standards changes

#### 1.1.1

 * Added ‘eat_exclude_types’ filter to allow excluding post types from the process
 * Minor code cleanup and more comments added

#### 1.1

 * Changed plugin code to be WordPres 3.7 or higher compatible. So now WordPress
   3.7 or higher is required and older WordPress versions are not supported.
 * Cleanup some code not needed after raising min. required version to 3.7

#### 1.0.2

 * When updating the readme.txt I copied by error another plugin readme to trunk,
   causing the plugin closed by WordPress.org staff. This release is only to fix
   the mistake made with readme as requested by WordPress.org staff. Sorry!!

#### 1.0.1

 * Hooks added to set the thumbnail when publishing too.

#### 1.0

 * Initial release.

## Meta

 *  Versione **1.1.3**
 *  Ultimo aggiornamento **3 anni fa**
 *  Installazioni attive **7.000+**
 *  Versione WordPress ** 4.7 o superiore **
 *  Testato fino alla versione **6.3.8**
 *  Versione PHP ** 5.6 o superiore **
 *  Lingue
 * [English (US)](https://wordpress.org/plugins/easy-add-thumbnail/), [Norwegian (Bokmål)](https://nb.wordpress.org/plugins/easy-add-thumbnail/),
   e [Swedish](https://sv.wordpress.org/plugins/easy-add-thumbnail/).
 *  [Traduci nella tua lingua](https://translate.wordpress.org/projects/wp-plugins/easy-add-thumbnail)
 * Tag
 * [featured image](https://it.wordpress.org/plugins/tags/featured-image/)[thumbnail](https://it.wordpress.org/plugins/tags/thumbnail/)
   [thumbnails](https://it.wordpress.org/plugins/tags/thumbnails/)
 *  [Visualizzazione avanzata](https://it.wordpress.org/plugins/easy-add-thumbnail/advanced/)

## Valutazioni

 4.5 su 5 stelle.

 *  [  44 recensioni a 5-stelle     ](https://wordpress.org/support/plugin/easy-add-thumbnail/reviews/?filter=5)
 *  [  1 4- recensioni a stelle     ](https://wordpress.org/support/plugin/easy-add-thumbnail/reviews/?filter=4)
 *  [  0 recensioni a 3-stelle     ](https://wordpress.org/support/plugin/easy-add-thumbnail/reviews/?filter=3)
 *  [  1 2- recensioni a stelle     ](https://wordpress.org/support/plugin/easy-add-thumbnail/reviews/?filter=2)
 *  [  6 recensioni a 1-stelle     ](https://wordpress.org/support/plugin/easy-add-thumbnail/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/easy-add-thumbnail/reviews/#new-post)

[Vedi tutte le recensioni](https://wordpress.org/support/plugin/easy-add-thumbnail/reviews/)

## Collaboratori

 *   [ Samuel Aguilera ](https://profiles.wordpress.org/samuelaguilera/)

## Supporto

Hai qualcosa da dire? Ti serve aiuto?

 [Chiedi nel forum di supporto](https://wordpress.org/support/plugin/easy-add-thumbnail/)

## Donazioni

Vuoi sostenere le versioni future?

 [ Fai una donazione per lo sviluppo ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8ER3Y2THBMFV6)