Thumbnail for Excerpts – plugin for WordPress

Thumbnail For Excerpts allow easily, without any further work, to add thumbnails wherever you show excerpts (archive page, feed…).

My plugins:

Changelog

2.0 [December 8, 2009]
- plugin rewritten
- ready for WordPress 2.9
- many changes

1.3 [November 22, 2008]
- working now with GIF and PNG also
- working now also with WordPress installations which do not use wp_ for tables
- tested for WP 2.7

1.2 [September 9, 2008]
- can create thumbnails if do not exists

1.1 [September 6, 2008]
- some suggestion implemented (link, title, max dim)

1.0 [August 13, 2008]
- first release

Description

The idea of this plugin is to make excerpts have an image near. By default, WordPress strip every tag in excerpts, including images, so the look can be boring. Since WordPress 2.9 there is a mechanism for thumbnails, which still ask for some coding. Not with this plugin! With this plugin your life is easier! Keep in mind that this plugin use the new feature from WordPress 2.9, but works with previous versions too. It will use any specific thumbnail you have indicated manually. In the same time, it will provide automatically thumbnails for all the posts (previous posts for example) which have at least one image, but no manually-indicated thumbnail.

Important: Showing thumbnails in excerpts will not *always* look nice. It depends a lot on the theme you choose. Anyway, with some CSS knowledge, it can work nicely. And if you upload photos in posts only from web, it will go 99% perfectly. Make the tests and keep the plugin if you like the results.

Installation

The plugin is simple to install:

1. Download the zip file
2. Unpack the zip. You should have a directory called `thumbnailforexcerpts`, containing several files and folders
3. Upload the `thumbnailforexcerpts` directory to the `wp-content/plugins` directory on your WordPress installation.
4. Activate plugin

It will work immediately!

Frequently Asked Questions

I don’t use WordPress 2.9. It will crash my blog?

No, but it’s better to use latest WordPress. Should work from 2.5, but I’ve only tested on 2.8.

I use the new feature from WordPress 2.9!

Good. This plugin will use what you define as thumbnails for posts.

I don’t use the new feature from WordPress 2.9!

Well, no problem. I guess it’s difficult to come everytime in back-end to define a thumbnail for a post. This plugin will provide first image from the post as thumbnail.

I don’t see the images!

Check first if your images have thumbnails. WordPress create 2 thumbnail for every image you upload in your posts (you can go with FTP in your-blog/wp-content/uploads/ – eventually year/month/ – and check if each image has also small versions, meaning picture.jpg to have also picture-150×150.jpg). If you go to http://themes.cnet.ro/blog/wp-admin/options-media.php this page you should see 150×150 for thumbnail size, 300×300 for medium size… You can choose other values, but keep in mind that what you choose for WordPress thumbnails should be equal or greater that what you choose above in this page. If you put (in the past) 0×0 not to have thumbnails generated for each image… than you have an explanation why this plugin do not work for you. Don’t worry. You can activate above Regenerate, or better use the plugin indicated as a description near Regenerate option.

The thumbnail image is too close to text!

Use some CSS! All thumbnail images have a class: wp-post-image (and also tfe). You can indicate margin: 0px 5px 0px 0px; for example, if images is left align. In your theme directory you have a style.css where you need to write some rules for thumbnail images.

The previous version was working for me, this not!

Than use the previous version. You can find all the version here.

Screenshots

1. By default it shows on left side, with 100 set as width

2. Now in the right side, with 50 as width

3. This screenshot is done in Firefox, showing the feed: yes, the thumbnails are there too!

Settings

There is a settings page for this plugin.

Download

Download Thumbnail For Excerpts.

For donations:USD
EURO

447 comentarii la “Thumbnail for Excerpts – plugin for WordPress”

  1. Dade a scris:

    14 Aug 08 @ 8:20 pm

    Hey there love the plugin looks great works well and its much easier then having to create thumbnails and use special custom fields the whole bit, however could a feature request be made that the thumbnails that are shown, are linked to the article

  2. radu.capan a scris:

    14 Aug 08 @ 9:08 pm

    OK. Your suggestion was implemented. Just download the Development version from here, instead of 1.0. Version 1.0 is the same, but the Development version includes what you want.

  3. indojepang a scris:

    14 Aug 08 @ 9:38 pm

    I use WPMU, and it does’nt work…

  4. radu.capan a scris:

    14 Aug 08 @ 10:19 pm

    Sorry… Never worked with WPMU, so I have no ideea what is to be done. Maybe other plugins will cover this for WPMU also.

  5. baron a scris:

    15 Aug 08 @ 1:40 am

    Hi. Thanks for plugin.

    Perfect.

    Regards

  6. Leonaut.com a scris:

    15 Aug 08 @ 11:12 am

    Thumbnail for Excerpts…

    There are some solutions for you if you want to show thumbnails near excerpts of your posts. Most of them needs you to work with custom fields. But why, if you already have images in your posts? Why not use those pictures?

    Thumbnail For Excerpts searc…

  7. Thumbnail for Excerpts Plugin for WordPress | Earn Blogger a scris:

    15 Aug 08 @ 5:45 pm

    [...] Plugin Page | Download Link Rate this: 3.2 [...]

  8. Rev Max a scris:

    15 Aug 08 @ 7:45 pm

    Fantastic plug-in – I’ve been looking for something like this for months!

    Only question is, I came here by following the “Donate to Plug-in” link on wordpress but where is the donate button?

    Please let me know so I can help support this plug-in! Thank you!

  9. Power a scris:

    16 Aug 08 @ 11:27 am

    Great Plugin ;) Tnx for sharing.

  10. Wordpress Plugins - Miniaturas para Excerpt | power.org.mx a scris:

    16 Aug 08 @ 12:03 pm

    [...] Thumbnails for Excerpt es un plugin que nos permite extraer esas miniaturas para incluirlas en el excerpt que manejemos en nuestro blog. [...]

  11. WPTD: Thumbnails for Excerpts « WordPress Tips, Hacks, and Reviews a scris:

    17 Aug 08 @ 4:11 pm

    [...] http://www.cnet.ro/wordpress/thumbnailforexcerpts/ Filed under: WordPress Plugin of the Day   |   Tags: [...]

  12. Fizfaz a scris:

    18 Aug 08 @ 7:27 am

    Thanks for this plugin.. I’m using the development plugin.. This is just the function what I’m looking for..
    Normally people will interested to click on the picture or image instead of the title link..

  13. Show thumbnail in excerpts post plugin a scris:

    18 Aug 08 @ 5:16 pm

    [...] I stumbled this site that just released the new plugin a few days ago to show thumbnail in excerpt post. Basically this thumbnail for excerpts plugin works by display the first picture in our post [...]

  14. MikeyB a scris:

    23 Aug 08 @ 3:46 am

    Wow, I’ve been looking for something like this… Thanks!

    I’m using the development version and I was wondering if there would be anyway to include alt text for the thumbnail?

    Again, thanks for sharing.

  15. radu.capan a scris:

    23 Aug 08 @ 3:36 pm

    OK. I will think for a solution.

  16. Lisa Clarke a scris:

    01 Sep 08 @ 8:53 pm

    Thanks for a great plugin – I just started using excerpts on my site and this is exactly what I wanted for them. Very easy to implement, too.

    I have a feature request: TFE_SIZE refers to width, currently. Would it be possible for that number to refer to the max size in general? For instance, when I have landcape photos, a width of 100 is fine. But when I have portrait photos, I actually want the height of the image to be 100. Basically, if the largest dimension of the image could be resized to TFE_SIZE, that would be perfect.

    Thanks for the great plugin!

  17. Tsadi a scris:

    02 Sep 08 @ 11:43 am

    I use Excerpts homepage plugin for my excerpts. I uploaded your plugin (one file of php), activated it, and it doesn’t work. Is it beacuse the other plugin creates the excerpts?

    Thank you,
    Tsadi

  18. Steve a scris:

    06 Sep 08 @ 9:39 pm

    I’m also using the “Excerpts homepage plugin” with “Thumbnail for Excerpts”. It doesn’t work on my home page, but for some reason, my site feed works? It’s showing the thumbnails and excerpts? Look. http://www.buzzradio1.com/?feed=rss2

    Not sure what to do about this. I have tried every possible configuration.

  19. The 20 Best Wordpress plugins on the net’ | Flex & AIR a scris:

    07 Sep 08 @ 2:52 am

    [...] Thumbnail For Excerpts [...]

  20. Luke a scris:

    08 Sep 08 @ 7:12 am

    Great plugin.

    Is there any way to link the thumbnail to the post?

  21. Luke a scris:

    08 Sep 08 @ 7:16 am

    I think I’ve found how to do this with this plugin:
    http://wordpress.org/extend/plugins/image-link/

  22. radu.capan a scris:

    10 Sep 08 @ 8:52 am

    To all – check the new version, 1.2
    @Luke – that was already in the development version, and clearly in the 1.2 version
    @Steve and Tsadi – sorry, on my tests with both plugin everything was alright so I cannot solve an issue I do not see it
    @Lisa and MikeyB – done that in the latest version

  23. Buzz Radio a scris:

    10 Sep 08 @ 9:23 am

    radu.capan, if it’s working for you, can we see an example? I’ve tried every thing and it doesn’t work :( .

    Please post a link.

    Thanks

  24. Rashed a scris:

    10 Sep 08 @ 12:55 pm

    Thanks a lot.

  25. mitza a scris:

    11 Sep 08 @ 3:35 pm

    i really like the plugin because it’s very simple and easy to use, but i would like to know if i can make some changes so that the thumbnail will have rounded edges. i tried with css, but i need an image above the thumb and i don’t know how to do that.

  26. Lok a scris:

    11 Sep 08 @ 8:01 pm

    HOHO
    Great plugin.

  27. radu.capan a scris:

    11 Sep 08 @ 8:04 pm

    So, back to the Steve and Tsadi issue. Those two plugins (Thumbnails for Excerpts and Homepage Excerpts) do not conflict, they just work in different cases. If your theme use full posts, than my plugin has no effect, because it’s work only for excerpts. Check your theme files and if you only see the_content, this plugin will do nothing. Change the_content to the_excerpt and you will see it working.

    To mitza: use cnet@cnet.ro to write me exactly how/what you need (I mean the code for the “image above the thumb”).

  28. WordPress Plugin Releases for 09/11 | Wordpress Blog NL a scris:

    11 Sep 08 @ 8:16 pm

    [...] Thumbnail For Excerpts [...]

  29. Josh a scris:

    11 Sep 08 @ 10:54 pm

    Hello,

    Thanks for the great plugin. You don’t know much I’ve been looking/desiring a plugin that does exactly what yours does.

    A couple notes: I am getting an error message when I define the “TFE_MAXSIZE” variable as “yes.” Here is the page where the error is occurring. http://redlettersstudio.com/scoreinternational/

    I do not get an error when the MAXSIZE is set to “no”.

    I have a feature request as well. Would it be possible to use the same classes WP automatically uses and to also have the caption (that is defined when you upload the photo) show up?

    Thanks again.

  30. radu.capan a scris:

    11 Sep 08 @ 11:20 pm

    @Josh: the warning may be related to the strange – for me – usage of WordPress. Please write me at cnet@cnet.ro and tell me if you have 2 WordPress installed there.

    As for caption, if you mean the title/alt, this already work if you set TFE_TITLE to “yes”. For class… I will take a look also. Thanks for testing it.

  31. Jauhari a scris:

    12 Sep 08 @ 9:25 am

    Wow… it’s nice plugins.

  32. Insert Thumbnail Images In Your Homepage Post Excerpts | Blog Templates Reviews a scris:

    12 Sep 08 @ 3:03 pm

    [...] Get The Thumbnail For Excerpt Plugin [...]

  33. useful.com.br » Blog Archive » Quer miniaturas nos seus posts? Use o Thumbnail for Excerpts a scris:

    12 Sep 08 @ 3:39 pm

    [...] bem, o plugin “Thumbnail for Excerpts” oferece uma solução sem Custom Fields. A proposta é que, tendo você uma imagem qualquer [...]

  34. Andy a scris:

    12 Sep 08 @ 4:52 pm

    Hello,

    I just want to show the thumbnails on my home page without excerpts (Text) but may be with title of the post. Can I do with your plugin? If so, how can I put the code in my home.php?

    Thanks in advance.

  35. radu.capan a scris:

    12 Sep 08 @ 6:38 pm

    @Andy: what you ask is a little out of the plugin limit. Is not impossible, but the plugin is working per excerpts, wherever they are (index.php, archive.php, search.php). If you want only on one page, the homepage, than there must be done some changes. Contact me at cnet@cnet.ro for details and explain me more clearly: you want your homepage to be more like a summary? Titles+thumsb? Provide me a link also to see the context. Greetings!

  36. teddY a scris:

    12 Sep 08 @ 7:03 pm

    Hi there, thanks for sharing this plugin! I find it very useful because usually my archives (which I use excerpts) look horribly bland and boring without the photos.

    One small little problem though – the HTML code your plugin inserts into the exceprt is XHTML invalid. This is because there are not quotations marks around the attributes (such as <img=http://www.image.com/imgurl /> instead of <img=’http://www.image.com/imgurl’ />).

  37. radu.capan a scris:

    12 Sep 08 @ 9:20 pm

    @teddY: If that is only problem, will be solved soon. I am glad that is useful.

  38. Kevin a scris:

    13 Sep 08 @ 1:10 am

    So I’ve been trying for the past 2 hours to get this plug-in to work and for some reason, it still won’t display the images. I thought that it might be a thumbnail creation problem, so I changed ”TFE_CREATETH” to ”yes”, but that didn’t fix it. Then I thought it might be a gallery issue, so I tried linking to an image outside of the gallery, but that didn’t fix it either. Any further suggestions?

  39. radu.capan a scris:

    13 Sep 08 @ 8:25 am

    @Kevi: I’ve looked at your blog and the posts have no image – so, thumbnail of what? Also, since your posts are too short, I cannot see if in the list are used full content or excerpts.

    So: 1) make sure that at least one post have an imagine inside; 2) make sure that the theme use the_excerpt (on the homepage, archive, search…). For more info, contact me by email, at cnet@cnet.ro.

  40. Sid Savara a scris:

    13 Sep 08 @ 8:56 pm

    Found a strange bug – it is reproducing the image right around my comments form on single post pages. Works great on homepage. For a sample, please see here:

    http://sidsavara.com/personal-productivity/fact-or-fiction-the-truth-about-the-harvard-written-goal-study

    I will look at the code and see if I can figure it out too =)

  41. Sid Savara a scris:

    13 Sep 08 @ 9:00 pm

    BTW, I do not know what the actual issue is, but I ended up fixing it by adding

    if (!is_single()) {

    at line 27 and closing it after the return statement. Sorry if you go to my page and now do not see the example!

  42. radu.capan a scris:

    14 Sep 08 @ 9:05 am

    @Sid Savara: What you say is veeery strange. I tell you why: my plugin modify only and only the_excerpt. Or in single page is always full post (the_content), not just an excerpt (the_excerpt). So it should never affect single posts. This only explanation I may have is a strange theme, with strange calls for the_content/the_excerpt.

  43. Blain Reinkensmeyer a scris:

    14 Sep 08 @ 9:07 pm

    This plugin is absolutely fantastic, exactly what I have been searching for.

    I post a lot of stock charts on my site for example see my updated archives,

    http://www.stocktradingtogo.com/category/technical-analysis/

    And this plugin now displays a perfect thumbnail for each one automatically, what a lifesaver. Keep up the great work, cheers! :)

  44. Miniaturas y resúmenes de entrada » BlogMundi a scris:

    16 Sep 08 @ 12:29 am

    [...] embargo, hace poco he descubierto un plugin muy interesante que hace el trabajo por nosotros, thumbnail for excerpts. Basta con incluir una imagen en el post para que el plugin automáticamente la encuentre y la [...]

  45. Mia a scris:

    16 Sep 08 @ 7:47 pm

    Hi!
    I’ve been trying to make it work in my test blog but I really can’t. I already changed the_content for the_excerpt but still, not working.

    Could you please help me? I’m using the Mandigo theme (you can check the url I left here) that’s my test blog.

    I had installed Excerpt editor, then disabled it and installed Excerpet homepage Plugin, but everything stays the same.

    Any idea?
    thanks in advance :)

  46. Mia a scris:

    16 Sep 08 @ 9:03 pm

    Also, tried with other themes – nothing happens. Obviously, I’m doing something wrong, but don’t know what :(

  47. radu.capan a scris:

    16 Sep 08 @ 9:39 pm

    As I did with all above people with problems, please write me at cnet@cnet.ro. Indicate me a list of active plugins in that email and I will do my best.

  48. Mark a scris:

    17 Sep 08 @ 1:59 am

    Killer plugin however it’s behaving oddly with the disqus plugin. everything works great for the the excerpt displays, but if you check out http://www.homestomper.com/is-zillow-really-helping-your-sales/#disqus_thread you’ll find that it has added a thumbnail where it shouldn’t have.

    Any ideas as to why this is happening?

  49. Mark a scris:

    17 Sep 08 @ 2:08 am

    Looks as if the above comment http://www.cnet.ro/wordpress/thumbnailforexcerpts/#comment-67789 had the same issue with disqus and the plugin adding the image at the comments… I’m not understanding his fix, though…

  50. radu.capan a scris:

    17 Sep 08 @ 9:04 am

    @Mia: take a look at http://www.wp.cnet.ro/ with your theme. Is working, just replacing the_content with the_excerpt (something you said you already did). Once again, in my test is working… maybe we’ll find the real issue.

  51. radu.capan a scris:

    17 Sep 08 @ 9:13 am

    @Mark: again, very strange… I see nothing in the page you’ve indicated. Maybe you solved the issue already? I would still like to find the cause.

  52. XIII a scris:

    17 Sep 08 @ 11:42 am

    I love WordPress, there’s a plugin for everything. Great job.

  53. La salvación cuando uno no sabe que hacer… » Blog Archive » Miniaturas y resúmenes de entrada a scris:

    17 Sep 08 @ 1:44 pm

    [...] embargo, hace poco he descubierto un plugin muy interesante que hace el trabajo por nosotros, thumbnail for excerpts. Basta con incluir una imagen en el post para que el plugin automáticamente la encuentre y la [...]

  54. Helena a scris:

    18 Sep 08 @ 3:06 pm

    Having some problems with the plugin. My homepage has the latest 3 post excerpts visible but when I use your plugin the photo shown in all the excerpts is from the first post rather than a photo from each – if that makes sense.

  55. Display Thumbnails For Excerpts On Homepage In Wordpress Without Using Custom Fields. | TECH YARD a scris:

    19 Sep 08 @ 9:30 am

    [...] For Excerpt  :   Homepage ||  WP Plugin Directory ||  Download Share and [...]

  56. WordPress - How to Improve the Archives with the Thumbnails for Excerpts Plugin | (Anti) Social Development a scris:

    22 Sep 08 @ 7:10 pm

    [...] topic is how to make the archives more attractive and user-friendly with the Thumbnails for Excerpts Plugin. I tend to prefer coding rather than plugin solutions but this plugin provides a simple way to [...]

  57. RoBorg a scris:

    22 Sep 08 @ 11:17 pm

    Hi,

    There’s a slight bug in the plugin – it doesn’t take notice of the table prefix.

    The line

    $content = $wpdb->get_var(’select post_content from wp_posts where id=’.$id);

    should be:

    $content = $wpdb->get_var(’select post_content from ‘ . $wpdb->prefix . ‘posts where id=’.$id);

  58. Katherine a scris:

    23 Sep 08 @ 12:44 am

    Fantastic plugin – thank you very much for making it available, it’s working perfectly for me.

    Only one place is is giving me a problem – when I am restricting excerpts to only a single category, using this after the opening of the loop:

    query_posts(‘category_name=courses&showposts=10′);

    The excerpt shows fine, but no image, even though there is one in the posts. Any idea why this might be? Thanks.

  59. PhotoNeil’s Favourite Blogs » Weblog Tools Collection: WordPress Plugin Releases for 09/11 | A Comprehensive Collection of Blog Posts from my favourite Blogs a scris:

    24 Sep 08 @ 11:23 pm

    [...] Thumbnail For Excerpts [...]

  60. Tobi a scris:

    25 Sep 08 @ 11:12 am

    Hi and thanks for this nice plugin. I have 1 suggestion: atm the search and replacestring only gets .jpg-images, maybe you can expand it to get other image-types as well. Example:

    $img2 = str_replace(array(“.jpg”, “.png”),array(“-”.get_option(“thumbnail_size_w”).”x”.get_option(“thumbnail_size_h”).”.jpg”, “-”.get_option(“thumbnail_size_w”).”x”.get_option(“thumbnail_size_h”).”.png”),$img1);
    if(!file_exists(realpath(“.”).”/”.substr($img2,stripos($img2,”wp-content”))) && (TFE_CREATETH==”yes”)){
    if(get_option(“thumbnail_size_w”)>0)
    image_make_intermediate_size( realpath(“.”).”/”.substr($img1,stripos($img1,”wp-content”)), get_option(“thumbnail_size_w”),get_option(“thumbnail_size_h”),true);
    else
    image_make_intermediate_size( realpath(“.”).”/”.substr($img1,stripos($img1,”wp-content”)), TFE_SIZE,TFE_SIZE,true);
    $img2 = str_replace(array(“.jpg”, “.png”),array(“-”.TFE_SIZE.”x”.TFE_SIZE.”.jpg”, “-”.TFE_SIZE.”x”.TFE_SIZE.”.png”),$img1);
    }

  61. Steve a scris:

    26 Sep 08 @ 5:37 pm

    Hi – great plugin – thanks!

    Everything looks great on the homepage, but i’m wondering if there is a way to add a margin to the right hand side of the thumb so that when posts are displayed in their categories they look a little neater and not have the text squashed up against them?

    Thanks

    Steve

  62. links for 2008-09-29 | Arc Iris a scris:

    29 Sep 08 @ 10:02 pm

    [...] Thumbnail for Excerpts – plugin for WordPress | CNET.ro (tags: wordpress plugin thumbnail) [...]

  63. bigboy23 a scris:

    30 Sep 08 @ 3:35 pm

    Very useful plugin :)

    I have a small problem, on my blog I use excerpts in several spots but I dont want to have thumbnails in front of all the excerpts. What can I do to block the plugin in showing the thumbnail is front of some excerpts?

    For example I have a feature story under the header and there I have 1 excerpt but I dont want a thumbnail, BUT in the middle of the homepage I have several more excerpts and there I want the thumbnails, so when I activate the plugin it shows thumbnails in front of all the excerpts of the middle of the page and also in the feature story spot.

    Could I use some come to block the plugin from showing the thumbnail at the feature story?

  64. DonBlogger a scris:

    02 Oct 08 @ 9:34 am

    Very good plugin! ¡muchas gracias!

  65. bigboy23 a scris:

    02 Oct 08 @ 10:40 am

    Anybody?

  66. radu.capan a scris:

    02 Oct 08 @ 3:44 pm

    Yep. Just too busy and with too many problems this days.

  67. Los 13 plugins que más molan | DonBlogger.com a scris:

    03 Oct 08 @ 12:46 am

    [...] Thumbnail For Excerpts - usando los extractos de wordpress este plugin siempre pone la primera imagen que usamos en el texto también en la página principal. Sin usar este plugin los extractos se quedan sin imagenes aunque el texto las tendría. [...]

  68. Damian Tysdal a scris:

    03 Oct 08 @ 7:13 pm

    Hi,

    This sounds perfect for my site, but I cannot get it to work. Any ideas?

  69. Daiv a scris:

    05 Oct 08 @ 12:09 pm

    Great plugin. Doesn’t seem to work properly for me.
    I’ve set the thumb size to 120, the same as my WP thumb size and the thumb being displayed is the mid size of 300px, scaled down with the browser to 120px. It seams that the plugin fails to find the thumb, and fails to create one.

  70. Kjetil Flekkoy a scris:

    05 Oct 08 @ 8:13 pm

    Ciao!
    This is almost what I’m looking for – but is it possible to use this plugin to display a thumbnail on a blog’s front/overview page – but with the text above a “more” tag instead of the excerpt text?
    Eventually, do you know a plugin that could do the trick?
    (I’ve been using Post-thumb revisited here, but regretably it is not being updated.)
    Thanks,
    Kjetil

  71. radu.capan a scris:

    05 Oct 08 @ 9:03 pm

    Unfortunately I am very busy and little hope in the near future to have some time for new features. But I may help by email for bugs (use cnet@cnet.ro) in case I can find the issue in few minutes. For that I need to be able to see also the blog where the plugin seems not to work.

    In many cases the problem was not using excerpts in theme.

  72. russell a scris:

    06 Oct 08 @ 1:05 pm

    Great plugin, thanks for this.

    One feature I would think would be great would be to show a larger image for the first excerpt (maybe full size), and then either drop to a smaller fixed size with each subsequent post, or maybe better, to gradually drop size until a minimum size, with each subsequent post. I think this would make a homepage easier to scan, with the older stuff taking less space.

    Ideally as well I guess it would show more of the text from the first post, and less for the subsequent ones.

    Maybe using a technique like this guy:
    http://justintadlock.com/archives/2008/08/24/replacing-wordpress-content-with-an-excerpt-without-editing-theme-files

    Also lacking time to try myself but thought I’d put the idea out there :)

  73. My Favorite WordPress plug-ins | Christopher Ross a scris:

    06 Oct 08 @ 8:11 pm

    [...] For years I struggled with how to quickly add images to my excerpts but Radu Capan introduced a fantastic plug-in that searches your posts and finds the first image. Thumbnails for Excerpts [...]

  74. Nathan Thompson a scris:

    10 Oct 08 @ 11:13 pm

    Great Plugin and a great help from a great guy.

    Thank you very much!

    Nathan

  75. Max a scris:

    11 Oct 08 @ 3:34 pm

    Thanks for the great plugin. It works if I have the real image url in the post. But if I only have the code [gallery], it doesn’t work. Any suggestion?

  76. Adriano a scris:

    14 Oct 08 @ 1:48 am

    Something new to using this grat plug-in with Wordpress MU?
    Thankssss.

  77. UAU a scris:

    15 Oct 08 @ 12:08 am

    Can you make it work with the [gallery] tag too?

  78. joryx a scris:

    23 Oct 08 @ 4:15 am

    I had a problem when i use this plugin in this query:
    select post_content from wp_posts where id=

    I change it for this:
    select post_content from $wpdb->posts where id=

    if you have problems, maybe this could help you…

  79. Herramientas de validación web a scris:

    26 Oct 08 @ 9:46 am

    [...] de feeds os recomiendo instalar el siguiente plugin para wordpress:  Thumbnail for Excerpts. Añade a tus feeds un thumbnail de la imagenes de tus entradas. Es realmente muy útil cuando [...]

  80. ssonmez a scris:

    28 Oct 08 @ 8:27 pm

    But it doesn’t resize images.
    If images’ sizes 100Kb and 600pixel X 60pixel
    This plugin change 100pixel X 6pixel
    But 100 Kb doesn’t change to 10Kb.
    Then your pages loading slowly and traffic growing.

  81. radu.capan a scris:

    29 Oct 08 @ 9:23 am

    Let’s see again: this plugin search for an image in the post and use THAT image. Exception: when the WordPress is configured to create thumbnails. There is also an option to force creating the thumbnails. So, this is how it works.

  82. WKWebsite a scris:

    29 Oct 08 @ 2:54 pm

    I love your thumbnails for excerpt. But i have a question. Is it possible to shows the thumbnails in a page (not archive…)?

    I am using
    to read the post in a page.
    But for thumbnails, it doesn’t show up at all.

    Anyway to fix?

  83. radu.capan a scris:

    29 Oct 08 @ 3:26 pm

    Something may be missing from your comment. “Read the post in a page”? How is that? A link? Or a plugin you use? Anyway, my plugin works in archive or index pages, where excerpts are used.

  84. John Smoleskis a scris:

    29 Oct 08 @ 7:19 pm

    Hi

    Great plug-in. Does exactly what I need, almost.

    Alignment can be left or right, but I need the excerpt to be below the image. Is this possible with the plug-in?

    I figured out a work-around; put an extra around the post and make the width the same as the image.

  85. etomyam a scris:

    04 Nov 08 @ 5:06 am

    The great plugin that I’ve been looking for, right now I’m trying to make it work in my site….I don’t know where did I miss the step

  86. Wordpress 2.7 beta released -- Boleh Blog a scris:

    04 Nov 08 @ 5:43 am

    [...] actually I’m trying to use Thumbnail for Excerpts – plugin for WordPress, works great, finally I’ve found one. Tags: download, wordpress SHARETHIS.addEntry({ title: [...]

  87. radu.capan a scris:

    04 Nov 08 @ 8:22 am

    @etomyam – As far as I can see from your website, you did it, the plugin is working for you. I am glad.

  88. Kristine a scris:

    12 Nov 08 @ 2:02 am

    Having problems with this plugin. I am also using the plugin Homepage Excertps. Could this be the problem?

  89. Technical notes » Blog Archive » Featured Articles in Wordpress a scris:

    14 Nov 08 @ 1:30 am

    [...] http://www.cnet.ro/wordpress/thumbnailforexcerpts/ [...]

  90. rob a scris:

    22 Nov 08 @ 1:19 am

    Has this been tested in 2.7?

  91. radu.capan a scris:

    22 Nov 08 @ 9:02 am

    Yep, working fine with 2.7 also, since nothing (for the moment, beta 3) affect the core of this plugin.

  92. Estrellas a scris:

    22 Nov 08 @ 10:52 am

    This is the best plugin ever. So easy and so useful. Thanks a lot for this!!! Good Job :)

  93. iamdok a scris:

    22 Nov 08 @ 10:39 pm

    Hi, congrats on the great plugin. This plugin is exactly what I was looking for, but I cannot use it with my custom portfolio wordpress theme :( , unless I can set the plugin to only target excerpt posts in a specific catagory! Is there something I can insert into the php file to tell the plugin to look at 1 or 2 catagories only? by catID or something. :)
    Any help appreciated. Cheers.

  94. radu.capan a scris:

    22 Nov 08 @ 11:06 pm

    What you ask can be done, I think. Please use cnet@cnet.ro to write me: you don’t want the plugin to act on index.php but on archive.php for some categories? please also give me a link to the website and pages where are the issues.

  95. WordPress Plugin Releases for 11/22 | Wordpress Blog NL a scris:

    22 Nov 08 @ 11:13 pm

    [...] Thumbnail For Excerpts [...]

  96. Marlon Valdez a scris:

    24 Nov 08 @ 2:10 am

    Excellent plugin.
    Exists the possibility of expiring with standards “XHTML” with this plugin?

  97. rob a scris:

    26 Nov 08 @ 2:30 am

    I was actually having a problem in 2.7 with the version previous to this. I just upgraded automagically from wordpress and it works fine now.

    So it’s working flawlessly in 2.7 beta 3 now. Thanks

  98. dnnsldr a scris:

    26 Nov 08 @ 8:53 pm

    Great Plugin. I am running Excerpt Editor and your plugin together. I was having problems in the beginning with both a thumbnail and the regular image showing together. Here was what I had to do:
    Excerpt Editor Plugin: do not check off either option in: Auto-Generate excerpts when displaying posts without excerpts on the site or in the RSS feeds. Also, on the append have nothing checked, and on replace have all checked.
    Also, make sure that you are using “the_excerpt” in the index.php file and have a single.php file that uses “the_content”.
    Everything works fine now.

  99. Alex Leonard a scris:

    27 Nov 08 @ 4:10 pm

    Hi there. I think this is a lovely plugin. It’d be great to see the options migrated to an admin panel at some point, and also, I’d agree with Marlon regarding the XHTML standards.

    XHTML would be very easy to implement – changing the output of lines 124 and 133 would be very simple.

    All that needs to happen is remove the hspace and border attributes, and remove the align attribute.

    Instead of using the align attribute if you change it to

    if TFE_ALIGN == right echo class=”alignright”

    (that’s simplified, but I figure if I write full code in here I’ll be fighting with having the code stripped!)

    Using alignright, alignnone, and alignleft means that you’re using class names that have become standard usage for images in wordpress and most people should have these classes assigned with the correct floats in their CSS.

    Great work though – it’s really suited a project I’m working on with a friend of mine :)

  100. Dgold a scris:

    30 Nov 08 @ 11:40 am

    Thanks you! It worked great on my first attempt. Now, I happen to have a custom theme where I’m using the WordPress template tag the_content_rss instead of the_excerpt. The reason I do this is, if you look up what the_content_rss does, it has a better parameter for choosing the # of words to show. So I needed to modify your plugin, and guess what? There was just 1 thing to change, and it instantly worked as you would expect. I just changed (in the Plugin Editor), from get_the_excerpt, changed it to the_content_rss. Thanks again for this. It has improved the looks of my site, with only a few minutes work on my part tonite.

  101. Ivan a scris:

    30 Nov 08 @ 9:54 pm

    It is really very nice plugin. I am not very familiar with css and have 2 questions: how to make a little more space between image and the text below it (I expended the images to the whole width of the column so that I have text only below the image).

    Second question: how to make the title of the post to appear right of the image (so on the left side would be only image on the rigth title plus other text?

    PLs help me.
    Thanks

  102. Giocare con le Anteprime dei Vostri Post - Francesco Gavello Webdesign Portfolio a scris:

    05 Dec 08 @ 2:02 am

    [...] Thumbnail for Excerpts Altro “one click plugin”, Thumbnail for Excerpts fa esattamente quanto il nome promette. Si occupa di inserire l’anteprima del vostro post ogni qual volta ne viene mostrato l’excerpt in maniera totalmente automatica. [...]

  103. Fyrewurks » New WordPress Theme: nytewurks a scris:

    06 Dec 08 @ 6:36 am

    [...] as “Featured” to have it automagically show up in the sidebar.  I have used the Thumbnail for Excerpts WP plugin to get the images to show up in the featured posts (though the word wrap isn’t not quite [...]

  104. Catalin Zalog a scris:

    07 Dec 08 @ 1:05 am

    Salut, imi place ce ai facut, foarte misto.
    Am o intrebare, pot sa afisez thumb-ul separat, nu in “excerpt” ?
    Anunta-ma te rog aici daca poti, http://portfolio.webworks.ro la sectiunea de contact.

    P.S. Poate ai vreodata nevoie de css :)

  105. Playing with the theme functions file in Wordpress | Blue Mushrooms a scris:

    07 Dec 08 @ 7:09 pm

    [...] – pain in the neck). For example, I had a site where I wanted to use The Excerpt Reloaded and Thumbnail for Excerpts on the front page. Unfortunately, they wouldn’t work together. All I really needed from The [...]

  106. Bobz a scris:

    14 Dec 08 @ 5:00 pm

    Hi there,
    nice plugin – me like (y), but..

    it doesnt pass validator because there is no ” around tags.
    Iv fixed this for me, so maybe you can implemet it to next update version, just need to add \” around all tags, and need to close img tag so at end is />
    at alt and title tag replace ‘ with \”
    and then it can pass w3c validation

    cheers

  107. Tom (dB) a scris:

    16 Dec 08 @ 7:34 pm

    Hi, love the plugin. Just wondering if it would be possible to add an option to show a default thumbnail if one didn’t exist in the post.

    thanks.

  108. ahmed a scris:

    17 Dec 08 @ 12:09 am

    Hello there, I really like this plugin. Is it possible to display two thumbnails with your post? Thanks a lot. Any help will be really appreciated.

  109. Ann a scris:

    21 Dec 08 @ 8:36 pm

    Thank you so much! I cant even begin to tell you how much time you have save me with this plug in!

  110. Web Host a scris:

    21 Dec 08 @ 9:04 pm

    Hi I am using it in my site. It works only on tags and feeds. But not working on home page. How to active home this for home page.

  111. Ivan a scris:

    27 Dec 08 @ 3:31 pm

    I woould like to ask how to change the code to CROP images to thumbs of exact hight and width (for example 150×150px – original images are not square but different proportions). WP 2.7. does it automatically but this plugin not. Could someone help me, please?

  112. radu.capan a scris:

    28 Dec 08 @ 6:05 pm

    This plugin works as you configure it. If you configure the sizes as the crops sizes from WP, than so it will work. Change the crop as you wish in WP and than adjust as is needed this plugin. After that, if there are still some questions, send to cnet@cnet.ro. Good luck!

  113. 4webmasters » Top 1000 WordPress Plugin Authors a scris:

    31 Dec 08 @ 3:43 am

    [...] Thumbnail For Excerpts [...]

  114. En.nicuilie.eu Blogs » Top 1000 WordPress Plugin Authors a scris:

    31 Dec 08 @ 9:46 am

    [...] Thumbnail For Excerpts [...]

  115. Monica B. a scris:

    31 Dec 08 @ 8:04 pm

    Hi, Radu. Where can I set the space size between the image and text, for the thumbnails to be displayed clearly in Firefox, like it happens in Internet Explorer?

  116. radu.capan a scris:

    31 Dec 08 @ 8:09 pm

    The best things to do is to play with CSS. Here is what a reader propose:

    .imgtfe {
    float: left;
    margin-top: 7px;
    margin-right: 7px;
    margin-bottom: 7px;
    }

  117. Mojo a scris:

    02 Ian 09 @ 1:29 am

    Is there a way to exclude a category? I’ve got a problem where a style is doing the same thing with a custom modification in one area and unfortunately I’m getting double pictures.

  118. DataMouse a scris:

    02 Ian 09 @ 11:01 pm

    It seems that this is an awesome plugin – but I can’t get it to work.
    Is the plugin compatible with 2.7?
    I’ve uploaded a gif image and used it in my post, but it’s notbeing pulled to my title/index page :-(
    Could you offer any advice, please?
    Thanks

    Danny

  119. radu.capan a scris:

    03 Ian 09 @ 11:58 am

    Yes, it’s working with 2.7. Write me at cnet@cnet.ro and indicate me the site, the theme used, and also if there are any plugins which may operate on/with the_excerpt.

  120. JaneBlonde a scris:

    03 Ian 09 @ 4:52 pm

    Hello Radu,
    Great plugin thanks for creaing it:-) Is it possible to show always the 2nd image in the gallery as a thumbnail (instead of the first one)??

    I have a short introduction with a standard (same) image at the beginning of each post, however the real post related pics coming later… So I would prefer to use always the 2nd one as thumbnail. Thanks for your help in advance,
    JaneBlonde

  121. Lola a scris:

    06 Ian 09 @ 1:22 am

    Hi, thanks for this plugin, been using it in most of my blogs succesfully. Sadly, I cannot make it work in my most important blog – that is using the “Thesis” theme.
    For some reason, this theme has very unusual code.. and I can’t figure out how or where is the “the_excerpt” for homepage to change it.

    The plugin works fine in Archive pages, but not in homepage

    Could you help with this? Thanks in advance :)

  122. Adam a scris:

    12 Ian 09 @ 5:42 pm

    Dude, works PERFECT right out of the box. I have been looking for this all weekend. You ROCK! Thank you!
    Adam

  123. Phil D a scris:

    16 Ian 09 @ 3:00 am

    Great plugin!

    I have noticed a little bug – the “a” tag in the outputted code has no quotes around the href attribute. Browsers seem to read it OK, but it’s not valid markup, so I’m a little worried that it may throw search engine bots off.

    Any chance you could fix this up in a future release?

  124. Tobias a scris:

    17 Ian 09 @ 2:23 am

    I found asmall but efective trick to get your nice plugin to show GIF files too.

    I changed line 128 of the php:

    if ((TFE_MAXSIZE==”yes”) && extension_loaded(‘gd2′) && function_exists(‘gd_info’)) {

    the only thing changed: (‘gd’) change to (‘gd2′)

    And now all error messages during creating thumbs from gifs are gone and it works.

    I think your hoster needs to support the gd2 library.

  125. Tobias a scris:

    17 Ian 09 @ 2:29 am

    @ Phil D: change line 133 of the plugin to somethin like this!

    echo (TFE_LINK==”yes”?”“:”").”".(TFE_LINK==”yes”?”“:”");

    I added some \” to every code in the image tag.

  126. [WordPress]Thumbnail for Excerptsを試す a scris:

    17 Ian 09 @ 5:46 pm

    [...] Thumbnail for Excerptsです。 [...]

  127. Lariza a scris:

    18 Ian 09 @ 8:35 pm

    Hi Radu, your plugin seems perfect for me, but is there a way to use it in the sidebar? I have Category Posts Widget showing excerpts from 5 most recent posts in specific category and I would like to have thumbnails next to the excerpt. Is it possible?

  128. Lariza a scris:

    19 Ian 09 @ 12:49 pm

    Hi Radu, I solved this myself already! I had to remove that widget and make the code myself. Now it’s working like a dream! :)

  129. Jojo a scris:

    19 Ian 09 @ 7:26 pm

    Hu… awesome plugin!
    Thank you.

  130. Emre Güneş a scris:

    21 Ian 09 @ 5:58 pm

    Dear Radu,

    Is it possible to use the thumbnail on left totally, I mean, ont the left side the image.
    The title and the excerpts (below the title) will be on right side?

    I am a begginner maybe it’s too simple.

    Also exclude a category could work for me too.

    Best

  131. Baard Vidar a scris:

    23 Ian 09 @ 3:06 pm

    Great plugin! One thing, though: It’s working on my site, but it’s using the default image and resizes it, instead of the square thumbnail, that I know exists. Any ideas?

  132. Michael Shearer a scris:

    25 Ian 09 @ 4:04 am

    Hi,

    Great plugin! I am using it to show an image for a video inside – so I want the thumbnail to display on the excerpt, but for the image to be hidden inside the post.

    Any ideas?

    Thanks!

    Michael

  133. Murat a scris:

    28 Ian 09 @ 6:12 pm

    Very good Plugin.

    I’m using on faminor like magazine themes with short style:
    $files = get_children(”post_parent=$id&post_type=attachment&post_mime_type=image”);
    if($files){
    $keys = array_keys($files);
    $num=$keys[0];
    $thumb=wp_get_attachment_thumb_url($num);
    echo ““;
    }

  134. Mark Clarkson a scris:

    30 Ian 09 @ 6:21 am

    This plug-in looks perfect, but I can’t get it to do anything. I have uploaded and activated it. I have posts with large images. I have excerpts appearing on the home page.

    But I see the full-size image. I don’t see thumbnails.

    What am I doing wrong?

  135. Lan Lan a scris:

    05 Feb 09 @ 8:21 am

    Hi! Thank you for such a great source. How can I just display the thumbnail without the content?

  136. radu.capan a scris:

    05 Feb 09 @ 11:05 am

    @Mark: as in any instance, each case must be seen, because there can be some issues related with the theme.

    @Lan Lan: can be done, just add a “return” after the image is shown. A little modification in PHP file.

  137. Naveen a scris:

    05 Feb 09 @ 10:19 pm

    Im using 2.7 and the plugin is working but not exactly as it should

    1) It does not show thumbnail for gallery posts, I have few gallery posts and others are image posts. Thumbnail is seen on image posts.

    2) Image posts thumbnail is just a resized image of the actual image and not the thumbnail. What I want to say is that, the plugin is not creating thumbnail for non thumbnail posts, it just shows the actual image in resized dimensions.

  138. Naveen a scris:

    06 Feb 09 @ 2:11 pm

    Ok, it is working my local server as it should but it is not working on the web server!

    What can be the cause?

    PS: Thumbnail from media gallery do not work on local server also.

  139. Naveen a scris:

    08 Feb 09 @ 9:42 am

    Awaiting your reply!

    Also, If there is no image in the post, can we have a default image show up? like a image saying “No Image” or “Gallery Inside” .. That would be great.

  140. radu.capan a scris:

    08 Feb 09 @ 2:54 pm

    Sorry, I cannot solve issues reported as “is not working”. There can be many sources for the problems: PHP server configuration, WordPress theme, other WordPress plugins… As for Gallery – my plugin did not consider that case. A future version may solve that. That’s all I can say for the moment.

  141. allhimachal.com a scris:

    09 Feb 09 @ 6:35 pm

    Nice plugin too see here.

  142. Viidar a scris:

    12 Feb 09 @ 11:05 am

    Just a question: Does it always show the first picture of that post?
    How can we change that is shows a picture froman URL or a later updated picture?

  143. Wulf a scris:

    12 Feb 09 @ 3:22 pm

    I’m having a problem that seems very similar to Helena’s, which I didn’t see any fix for. I’ve got a section of my site that has 4 excerpts displayed as part of a loop.

    The problem that I am having is that I’m not getting the first image pulled from each post, I am getting the first image from the first post being put into each excerpt. I’ve no idea what is causing this. Can you help at all?

  144. WordPress İçin Gerekli Temel Eklentiler | İlgili Bir Bilgi a scris:

    20 Feb 09 @ 3:39 am

    [...] Thumbnail For Excerpts: Metin özetlerinize küçük resimler eklemek için. [...]

  145. Communibus Locis a scris:

    20 Feb 09 @ 8:36 pm

    I am getting this error with the TFE_MAXSIZE=yes.

    It is on a hotlinked image.

    Warning: imagecreatefromjpeg(/home/content/x/x/x/xxx/html/wordpress/tmr/http://www.technologyreview.com/blog/editors/files/24018/prosthetic_x450.jpg) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory in /home/content/x/x/x/xxx/html/wordpress/tmr/wp-content/plugins/thumbnail-for-excerpts/thumbnailforexcerpts.php on line 129

    Warning: imagesx(): supplied argument is not a valid Image resource in /home/content/x/x/x/xxx/html/wordpress/tmr/wp-content/plugins/thumbnail-for-excerpts/thumbnailforexcerpts.php on line 130

    Warning: imagesy(): supplied argument is not a valid Image resource in /home/content/x/x/x/xxx/html/wordpress/tmr/wp-content/plugins/thumbnail-for-excerpts/thumbnailforexcerpts.php on line 130

  146. Bd4e a scris:

    24 Feb 09 @ 12:47 pm

    Hello !

    This plugin works great, but i have problems when i try to use it together with Wp-last post.
    http://wordpress.org/extend/plugins/wp-last-posts/
    The for the wp-last post is always supplied from the last post preceeding this category. You can see he example on supplied page (first two news).
    What can i do to correct this ?

  147. John Philip a scris:

    01 Mar 09 @ 12:55 pm

    Thank you, thank you, thank you! This is going to work fantastic on my new site.

  148. Steve a scris:

    01 Mar 09 @ 10:14 pm

    This is a really great plugin. One question: If there is no image in the post, is it possible to have a default image display?

    Thank you for a great plugin!

    Steve

  149. Typical WordPress Plugin Menu for a CMS site | Hank is me. a scris:

    02 Mar 09 @ 7:26 am

    [...] For Excerpts: add thumbnails wherever you show excerpts plugin home page | plugin directory [...]

  150. radu.capan a scris:

    02 Mar 09 @ 8:50 am

    @Steve: Yep, of course. This is a customization which can be done with little PHP & HTML knowledge.

  151. buzz_lightyear a scris:

    04 Mar 09 @ 3:52 pm

    Hi Radu,
    thanx for great plugin, however there’s a little problem with it.

    In the code, where it generates href and img links, there are sometimes quotes missing and therefore generated source does not validate.
    Also, if there is no title assigned to an image in the post, your output doesn’t generate alt=. This is also not allowed in xhtml1.0 transitional.

    Feel free to email me and i’ll send you corrected code.

    thanx for this nice plugin ;)

  152. Two Great Plugins for Thesis Theme : Blog Strategies a scris:

    04 Mar 09 @ 7:00 pm

    [...] images to appear with the Highlights? The solution is astonishingly easy – a plugin called Thumbnail for excerpts. Simply upload the plugin to the plugin folder of a Wordpress blog, activate and that’s it. [...]

  153. My All-In-One-SEO Settings and Summary | Real Estate Blog Lab a scris:

    07 Mar 09 @ 1:20 am

    [...] I’ll mention another favorite plugin of mine Thumbnails for Excerpts which will display a thumbnail of the first image associated with a post when returning searches, [...]

  154. Back To Nature a scris:

    07 Mar 09 @ 2:36 pm

    Hey!!! gr8 plugin… Will be adding to my website soon for some good purpose. :-)

  155. tcbp a scris:

    10 Mar 09 @ 5:27 am

    Thanks, I just started using this today and am still working a bit at getting everything on my new theme working exactly as I want it. This plugin has worked almost perfectly out of the box but I have noticed it won’t create a thumbnail for posts where the images are posted from the NextGEN gallery plugin for all but one of my posts using the NextGEN gallery.

    I’m still trying to figure out why it only works with that one post.

  156. cotton a scris:

    12 Mar 09 @ 9:13 pm

    Hi,
    This is a great plugin, tried many of plygins that take the thumbnail from the content. This however was the only one that worked for both posts and Pages. So I think this is great. I also have the same problem as previous post. I use NextGen gallery, i can not get the thumbnail displayed from these pages. Any advice much appreciated

  157. MJ a scris:

    13 Mar 09 @ 6:43 am

    Hi, love the plug in. I was looking for the answer, but did not see it. Is there a way to put a little more space between image and the text to the the right of it?

    Thanks

  158. WordPressのプラグイン Thumbnail for Excerpts を試してみる | uchi-kochi.com a scris:

    14 Mar 09 @ 7:30 am

    [...] そこで見つけたのが、Thumbnail for Excerptsというプラグイン。 [...]

  159. Carlos a scris:

    24 Mar 09 @ 6:24 pm

    Great job!

    Regards.

  160. christopher kirby a scris:

    26 Mar 09 @ 12:14 am

    hey first off great plugin but could someone help please
    im a little confused as to where to put this code to change the gap between the pic and the text.
    .imgtfe {
    float: left;
    margin-top: 7px;
    margin-right: 7px;
    margin-bottom: 7px;
    }
    also im using it in conjunction with homepage excerpts and ive edited the_content to read the_excerpt and the image shows but for some reason the “continue reading” link to the article dissapears
    can you help?

  161. ndop a scris:

    28 Mar 09 @ 3:54 pm

    @Communibus Locis : me too.. sigh

  162. Dan a scris:

    30 Mar 09 @ 8:47 pm

    Sounds like just what I am looking for, but I have a basic question. I installed everything just fine, but Step 4 says “activate plugin.” How do I do that? If I click on the thumnailforexcerpts.pho icon after I unzip, Windows says it can’t open it. Can you help a newbie?

    Thanks!

  163. Dan a scris:

    30 Mar 09 @ 9:00 pm

    Radu–I just found out that you activate the plug-in in Word Press. I did, and it works great! My home page is looking wonderful. I thank you very much–and sorry to bother you with a silly question. I’m learning a little bit every day!

  164. Brandon a scris:

    03 Apr 09 @ 7:45 pm

    I have the plugin “Homepage Excerpts” and your “Thumbnail For Excerpts” I am working with. I have two problems: The images aren’t feeding to the homepage excerpts. Is there anyway to prevent the thumbnails from showing up in RSS feeds? Basically I only want the thumbnails to show up on my homepage but not through the RSS. Any ideas?

  165. radu.capan a scris:

    04 Apr 09 @ 9:27 pm

    Modify the code, use is_rss or the appropiate function to control the behaviour.

  166. Cheong a scris:

    06 Apr 09 @ 4:47 pm

    I have problem showing thumbnail image at search results.

    When i post using backend using admin account, the image can be shown in search result.

    But when i post using front end(i’m using TDO miniform to allow user to post and uploading image into post), although the image appear in the post but it does not show in the search result.

    Can you please advise what’s wrong?

  167. Daniel Santos a scris:

    06 Apr 09 @ 10:54 pm

    Hello!

    Thank you for your plugin, it saves me a lot of time, it’s perfect for my on-line magazine.

    I want to ask you if I can “desactivate” the thumbnail for some post. I mean I want to show a thumbnail in the most of posts but in one or two I want to show the big picture. The problem is if I put the picture in the excerp, it doesn’t show it inside the post and if I put in the “post box” it shows me the thumbnail in the index. I really appreciate if you could help me.

  168. Amysdaddy a scris:

    11 Apr 09 @ 8:47 pm

    I have seen this posted before, but have seen no fix. If TFE_MAXSIZE”,”yes” then get the following error with each thumbnail shown:

    Warning: imagecreatefromjpeg(/xxxxx/xxx/public_html/http://www.in-sal.org/images/commandergary2.png) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory in /home2/sal/public_html/wp-content/plugins/thumbnail-for-excerpts/thumbnailforexcerpts.php on line 129

    Warning: imagesx(): supplied argument is not a valid Image resource in /xxxxx/xxx/public_html/wp-content/plugins/thumbnail-for-excerpts/thumbnailforexcerpts.php on line 130

    Warning: imagesy(): supplied argument is not a valid Image resource in /xxxxx/xxx/public_html/wp-content/plugins/thumbnail-for-excerpts/thumbnailforexcerpts.php on line 130

    Setting TFE_MAXSIZE”,”no” does not create an error, but does not work well if the image in the post is tall and thin.

    Is there a fix for this? I am using the Development version and WP 2.7. Thank you.

  169. Thomas a scris:

    15 Apr 09 @ 7:01 pm

    Hi everyone,

    I’m using ‘Thumbnail Excerpts’ and getting double pictures. :-( .
    Does someone know how to fix it?

    thx,
    Thomas

  170. Kirk Ward a scris:

    17 Apr 09 @ 12:25 am

    Hi,

    I have added the plugin and the images are showing, but the text is showing below the image, bot wrapped. Is there a setting to cause the text to wrap around the image?

  171. Show Thumbnail Images in Teasers of Blogs a scris:

    19 Apr 09 @ 6:40 pm

    [...] can download Thumbnail for Excerpts from here (also check wordpress plugins page [...]

  172. Kjetil Flekkoy a scris:

    19 Apr 09 @ 6:41 pm

    Hi
    I wonder if this plugin can be the long-searched solution for us – replacing a plugin that regrettably isn’t updated beyond WP25:

    We need a plugin that generates a thumbnail from the first image in each post – not to be displayed together with the excerpt but together with the part of the post’s text above the “more” tag.

    You can see how it works eg here: http://www.dolcevita.no/sicilia/
    These thumbs (to the left) are clickable and are made using a plugin (Post-thumb revisited) + a code in the appropriate templates.

    Possible to use your plugin not only for excerpts but also for above “more” thumbs?
    (- or are you aware of any other plugin that could do the job..?)
    Thanks a lot,
    Kjetil

  173. Mark a scris:

    25 Apr 09 @ 3:16 pm

    Hi, I have made some modifications so that the html will validate.

    Can I mail them to you? Please send me an email if you are interested in implementing this.

  174. Allison a scris:

    25 Apr 09 @ 9:56 pm

    Hi. Great plug-in. Thank you. I haven’t been able to figure this out and have seen it asked, but haven’t seen the answer.

    im a little confused as to where to put this code to change the gap between the pic and the text.
    .imgtfe {
    float: left;
    margin-top: 7px;
    margin-right: 7px;
    margin-bottom: 7px;
    }

    Could you tell me where to make this change? Is it in the php file? Where exactly would I put that? thank you so much!

  175. radu.capan a scris:

    26 Apr 09 @ 3:24 pm

    CSS file of your WordPress theme.

  176. Helgi Hrafn Halldórsson a scris:

    28 Apr 09 @ 1:40 pm

    Great plugin, however it is not XHTML valid.

    There are no quote marks for the IMG attributes nor the A (anchor). I fixed this for the one I have. But I recommend that this is fixed in the next version.

    Cheers .. great work

  177. Ultimate Guide To Using WordPress For A Portfolio | Fonts, How-To | Smashing Magazine a scris:

    29 Apr 09 @ 6:21 pm

    [...] Thumbnail for Excerpts This plug-in automatically displays a thumbnail of a post’s first image in the post excerpt (which appears on your home page or category pages). [...]

  178. william a scris:

    29 Apr 09 @ 7:51 pm

    Hello, great plugin, I have a newbie questions: how can I add each thumb to a custom field “thumb”?
    (I’m indending to keep the excerpt and everything else but I have a custom theme that use the thumb field to display a gallery of post’s pictures.)

  179. former a scris:

    30 Apr 09 @ 12:53 am

    Is the problem to me? I moved my index.php outside the WordPress folder and “Thumbnail for Excerpts” fail to print already resized thumbnail (sample-150×150.jpg), and shows original picture (sample.jpg) scaled down to the width of the thumbnail…

  180. rene a scris:

    30 Apr 09 @ 5:47 pm

    Hi
    super plugin
    only one problem – can someone help me with ?

    Problem : when I put “YES” to the hight+width max size, i get php code errors for line 129 – 130.

    Warning: imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error: in /var/www/vhosts/polarmedia.ca/httpdocs/blog/wp-content/plugins/thumbnail-for-excerpts/thumbnailforexcerpts.php on line 129

    Warning: imagecreatefromjpeg(): ‘/var/www/vhosts/polarmedia.ca/httpdocs/blog/wp-content/uploads/infonord-rphotospin09-525×502.png’ is not a valid JPEG file in /var/www/vhosts/polarmedia.ca/httpdocs/blog/wp-content/plugins/thumbnail-for-excerpts/thumbnailforexcerpts.php on line 129

    Warning: imagesx(): supplied argument is not a valid Image resource in /var/www/vhosts/polarmedia.ca/httpdocs/blog/wp-content/plugins/thumbnail-for-excerpts/thumbnailforexcerpts.php on line 130

    Warning: imagesy(): supplied argument is not a valid Image resource in /var/www/vhosts/polarmedia.ca/httpdocs/blog/wp-content/plugins/thumbnail-for-excerpts/thumbnailforexcerpts.php on line 130

    http://wordpress.org/support/topic/266692?replies=1#post-1061000

  181. Raymond a scris:

    01 Mai 09 @ 5:18 pm

    Hello,

    This is a magnificent plugin. It works perfectly.
    Is it possible only show thumbnails on category list page only?

    I mean, how to set the plugin to create thumbnails only in category page?

    Thank you

  182. radu.capan a scris:

    01 Mai 09 @ 6:14 pm

    @william – this plugin do not use custom field; that’s the point of this plugin
    @former – moving index.php? this is sooo weird… I am not sure what you’ve done
    @rene – it seems this is a PHP issue related to your server configuration
    @raymond – of course it can be done, you just need to modify the plugin a little (not to include the excerpt, to let just the image)

  183. Raymond a scris:

    01 Mai 09 @ 7:43 pm

    Thank you for your reply, radu.capan

    Do you mind to tell me more about the code i need to modify in order to display the thumbnails only in category page only?

  184. Ryan Rowell a scris:

    02 Mai 09 @ 7:19 am

    I have the same issue as Rene (30 apr 09)

    I just changed the configuration of my wordpress install to have the core wp files in /blog/ and have the index.php load at / (see this article to better understand http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory). Since doing this change I get the same errors. hopefully this will help you track down a way to get it working in this situation. It also hijacks the blogs feed with the same errors as well. I would also love a feature to be able to set a default image for use when there are not images detected in the post. I work as a photographer, and once and a while I don’t post an image (yeah hard to believe i know) but when it comes across that post without an image it will just halt and display the error messages. I would love to have it input its own default image instead just for those rare occasions.

    TIA

    Ryan

  185. mssmotorrd a scris:

    03 Mai 09 @ 2:55 pm

    It’s the first time I commented here and I must say you share us genuine, and quality information for bloggers! Good job.
    p.s. You have a very good template for your blog. Where did you find it?

  186. Mark a scris:

    03 Mai 09 @ 5:53 pm

    I’m using the tfe-plugin (which is very cool, btw) on my website.
    But I also have excerpts on my posts (single.php), as a kind of introduction. However, they seem to disappear when I activate the tfe-plugin. Is there a way to exclude the plugin in certain places, for example single.php?

  187. Brad Bice a scris:

    04 Mai 09 @ 5:43 am

    Hello, thanks for a nice plugin. I have had to edit it so that my website will validate, however. Starting with line 124:

    echo (TFE_LINK=="yes"?"<a>":"")."".(TFE_LINK=="yes"?"</a>":"");

    …and adding in quote marks for the HTML tag attributes. Same with line 133. I also removed the deprecated elements in XHTML.

  188. Automatic Thumbnails for Post Excerpts | AZ Blogging a scris:

    05 Mai 09 @ 8:07 am

    [...] Wordpress thumbnail for excerpts plugin automatically places a thumbnail anywhere an excerpt appears on your blog. The image used is [...]

  189. Mike a scris:

    06 Mai 09 @ 5:27 pm

    Excellent plugin! Works perfectly. As many on this page are asking, I am also interested in having Thumbnail for Excerpts work with NextGen Gallery.

  190. thdp a scris:

    09 Mai 09 @ 9:18 pm

    Very nice plugin, works well on my site. One feature request: cache for the thumbnails, especially for the large images.

  191. Thumbnails for Excepts fix for moved index.php « P.E.A.C.E. a scris:

    09 Mai 09 @ 10:38 pm

    [...] had problems with the Thumbnail for Excerpts – plugin. I guess i figured it [...]

  192. nico a scris:

    09 Mai 09 @ 10:39 pm

    I have the fix for moved Index.php

    http://freiheit.fosc.biz/thumbnails-for-excepts-fix-for-moved-indexphp/

  193. tweak « … with a smile! a scris:

    10 Mai 09 @ 12:16 am

    [...] je een plaatje in je post hebt en Thumbnails for Excerpts gebruikt, loopt de tekst uit je kolom. Dan moet je inderdaad een uittreksel gebruiken. Of gaan [...]

  194. Family Matters a scris:

    10 Mai 09 @ 8:19 am

    Hi Radu,

    I’ve posted an improvement suggestion for you on http://wordpress.org/support/topic/269337

    Thank you for a great plugin,
    Gal

  195. The 20 Best Wordpress plugins in 2009 | 香港網頁設計 Blog a scris:

    11 Mai 09 @ 7:26 pm

    [...] Thumbnail For Excerpts [...]

  196. Ryan Rowell a scris:

    12 Mai 09 @ 5:15 am

    @nico, Thanks thats what i was looking for right there.

  197. Chage’s Bloggie » Blog Archive » Tweak & Bug Fix to “Spring Loaded” WP Theme a scris:

    19 Mai 09 @ 4:09 pm

    [...] excerpt plugin support (from Thumbnail for Excerpts). This is not really a theme problem, but it requires tweak on theme templates to support excerpts. [...]

  198. Heyman a scris:

    26 Mai 09 @ 12:52 pm

    Plugin works fine, but in IE the sidebar drops to the bottom of the page. Any suggestions. Thanks in advance!

    Heyman

  199. Michaux a scris:

    26 Mai 09 @ 8:40 pm

    Hello, we are using this plugin and it is a terrific plugin.

    I have one question: is it possible to have the plugin take effect on SOME instances of the_excerpt, but not ALL instances? (assume that all posts have images). Due to layout considerations we would like the excerpts on the home page to not have thumbnails, but the excerpts on archive pages to have them.

    Perhaps someone else has already asked this question and you can provide me with information if this is possible. Thanks!

  200. Heyman a scris:

    27 Mai 09 @ 11:03 am

    I found the problem. In IE, Internet Explorer my sidebar dropped down to the bottom of my page because I used a PNG image. When I replaced that it worded fine again. In FireFox & Safari It worked with PNG images without a problem…

    Thanks for the plugin it’s helping me a great deal.
    Cheers
    Heyman

  201. Mike a scris:

    30 Mai 09 @ 10:20 pm

    Hi everyone,

    I am using the this plugin for a while now, but I have decided to fix all the xhtml validation errors. I did it (if I deactivate the plugin it shows 0 errors), however I need to figure out how to fix this issues on lines 124 and 133.

    I am not that well with the php, but I can handle some modifications if I am pointed to the right direction.

    Seems as the problems are with the ” ” in the link and image. Also the problem seems to be the escaping back slash but I do not know exactly how a good line must be.

    If anybody can help will be really really appreciating it as it is important for me to keep the xhtml validation at 0 errors.

    Thanks in advance,
    Mike

  202. Keefer a scris:

    02 Iun 09 @ 2:50 am

    Anybody found a solution to the [gallery] issue? I think this is one of the best plugins for word press but I use a lot of post with [gallery] I would love for this to work with this ultimate plugin. Great job… hopefully you find a fix for that.

  203. Write a Writing a scris:

    02 Iun 09 @ 6:59 pm

    Hey I activated the plugin as per the instructions but I am receiving the following error:

    Fatal error: Cannot redeclare putthumbnailforexcerpts() (previously declared in /home1/writeawr/public_html/writeawriting/wp-content/plugins/thumbnail-for-excerpts/thumbnailforexcerpts.php:26) in /home1/writeawr/public_html/writeawriting/wp-content/plugins/thumbnailforexcerpts.php on line 137

    Can you please guide about the possible solution.
    Regards,
    Amy Dyslex

  204. Write a Writing a scris:

    02 Iun 09 @ 10:27 pm

    I switched the _the content to_the excerpt in my theme. previously i was uploading the .php file only. maybe that was triggering the error. i uploaded n activated the file again but now a funny thing is happening.
    1) The image is not appearing for starters in the home page
    2) Interestingly, when u click thru the “test page image 2″ in the home page,the actual post page shows NOTHING, neither tha image nor the post content. this is really weird. Please guide what to do here…
    Thanks,
    Amy Dyslex

  205. janet a scris:

    05 Iun 09 @ 1:43 pm

    Thanks for such a wonderful plugin! I use it on every site I create. Are there plans for this plugin to automatically create thumbnails from posts that have the image [gallery] code instead of regular images?

  206. Cum sa iti faci un blog pe platforma Wordpress. Partea a III-a | Victor Sosea | blog personal a scris:

    07 Iun 09 @ 7:11 pm

    [...] Creat de Radu Capan, TFE este unul dintre cele mai utile plugin-uri pe care le folosesc. Creeaza un thumbnail oriunde exista un excerpt. Il puteti viziona pe homepage-ul blogului meu. Descarca plugin. [...]

  207. Damon Timm a scris:

    07 Iun 09 @ 10:39 pm

    This works very nicely, thanks! I changed the code on line 133 so that it will produce valid xhmtl (was lacking needed quotation marks to the values in the tags):
    is not letting me post the full code, I'm goingo to have to sed and remove the html and post a second comment - sorry

    If you are interested in valid xhmtl, it should also be edited at 124 as well.

  208. Damon Timm a scris:

    07 Iun 09 @ 10:47 pm

    Here we go, I think:

    echo (TFE_LINK=='yes'?'<a href="'.get_permalink($id).'">':'').'<img src="'.$img1.'" class="'.TFE_CLASS.'" hspace="'.TFE_SPACE.'" align="'.TFE_ALIGN.'" '.$condsize.'="'.$tfesize.'" '.(TFE_TITLE=='yes'?'alt="'.$tit1.'" title="'.$tit1.'"':'').' border="0" />'.(TFE_LINK=='yes'?'</a>':'');

  209. WordPress Search Engine: Get Beautiful and Revelant | Mark8t: SEO, SEM, E-Marketing And More a scris:

    08 Iun 09 @ 2:18 am

    [...] Search Excerpt WordPress Plug-in and for excerpts with thumbnails, look to Radu Capan’s Plugin Thumbnail for Excerpts.We hope the above list of resources saves you much time in upgrading your WordPress default search. [...]

  210. Abhineet a scris:

    08 Iun 09 @ 10:59 am

    Hi! Nice plugin…
    But its not working on my homepage.
    It works when I click on any category & all the posts in that category appear with the thumbnail of corresponding post.
    Why it cannot be on the homepage?

  211. radu.capan a scris:

    08 Iun 09 @ 11:23 am

    Again, your theme maybe is not using the_excerpt on the homepage.

  212. Abhineet a scris:

    08 Iun 09 @ 12:56 pm

    Ya! You are right. My theme uses the content on homepage…
    There is aproblem that when I uses Home page excerpt plugin, it do not shows thumbnail, & when I use your plugin, there is no read more link after the excerpt.
    The read more link in the categories page in my blog is put by me in the code, but it is not as it is on the homepage, i.e. in continuity with the excerpt. Rather it comes in the next line.
    Please tell me what to do?

  213. Ryan a scris:

    11 Iun 09 @ 1:44 am

    If you are getting an error for when you set: define(“TFE_MAXSIZE”,”yes”); to yes

    Starting at line 128 is an if statement starting with:
    if ((TFE_MAXSIZE==”yes”) && extension_loaded(‘gd’) && function_exists(‘gd_info’)) {

    Replace the entire if code block with:

    if ((TFE_MAXSIZE==”yes”) && extension_loaded(‘gd’) && function_exists(‘gd_info’)) {
    $im = substr($img1,stripos($img1,”wp-content”));
    $filearray = explode(“.”, $im);
    $imext = end($filearray);
    if ($imext == ‘png’) { $im = imagecreatefrompng($im);
    } elseif ($imext == ‘jpg’ || $imext == ‘jpeg’) { $im = imagecreatefromjpeg($im);
    } elseif ($imext == ‘gif’) { $im = imagecreatefromgif($im); }
    if(imagesx($im)<imagesy($im))
    $condsize = “height”;
    }

    Not pretty coding, but it worked for me because an image resource was not being created due to the fact my Wordpress URL is different from the install URL (i think).

  214. rc a scris:

    11 Iun 09 @ 7:07 am

    First, Great plug-in! thank you!
    I am having a problem styling my thumbnails. I understand which class it is, but my thumbnails are overlapping into my metadata…any suggestions?

  215. jh a scris:

    11 Iun 09 @ 3:14 pm

    Excellent work!

    The thumbnail doesn’t show up when I use this code:

    previous_post_excerpt();
    next_post_excerpt();

    Can you please help me modify your plugin, so it will display the thumbnail using the codes above? Thanks.

    Keep it up!

  216. Mark M a scris:

    11 Iun 09 @ 5:41 pm

    I am having big issues with the plugin after I have gone through the latest Wordpress update to 2.8, For some reason the plugin is only pulling the latest picture from wordpress. It is not pulling the top photo from every article like it i did before. I need help. Take a look at the site. I am going to leave the plugin active so you can see my issue!

  217. Norm a scris:

    12 Iun 09 @ 6:08 am

    Hi there, thanks for creating this plugin. It was working fine until I upgraded to WP 2.8. I currently have no thumbnails appearing only the excerpts while using the side post widget plugin. Is there an update for WP 2.8?

    Thank you

  218. Mike a scris:

    12 Iun 09 @ 6:06 pm

    I am having a problem with the plugin. Believe it has only started occurring since the 2.8 upgrade, but not sure.

    I have my own loop query on a single page to show the excerpt for a latest news article of a particular category. The problem is that the page has an image and for whatever reason, the plugin is displaying the image from the page as a thumbnail in the excerpt of the post. Haven’t looked at the code for the plugin yet, but will see if I can fix it. Please reply or send me an e-mail if you know of a solution. Thanks!

  219. Mark M a scris:

    12 Iun 09 @ 6:22 pm

    Good, so I am not the only one! I need an Update bad man, my site has got no pictures on the homepage now! Radu let me know what is up. I don’t want to have to stop using your plugin, but I am going to need some help though. Radu can you please e-mail me, when you read this.

    Thanks

  220. Web Milionário a scris:

    12 Iun 09 @ 8:48 pm

    Same problem here, not working properly since 2.8.

  221. Johnny a scris:

    12 Iun 09 @ 8:48 pm

    Yo, love your plug-in it was working great for me until version 2.8 came around. Now it’s busted and I miss my thumbs on the home page. Don’t know if you’re still around, but I could use some help.

    Thanks,
    .c.

  222. radu.capan a scris:

    12 Iun 09 @ 10:48 pm

    To all and everyone: this plugin works just like before with 2.8. The latest version, 2.8, did not change anything that should affect. I have it working on 4 sites and all sites are using 2.8 (see for example click *this*), and no problem.
    Please try to deactivate, reactivate, resubmit the data in admin area of the plugin. (None of this was necessary in my work).

  223. norm a scris:

    13 Iun 09 @ 5:19 am

    Thanks anyways.

  224. Mark M a scris:

    15 Iun 09 @ 11:57 am

    Radu, please look at my site. Something is wrong with your plug in. I am not making it up. For some reason when I upgraded to Wordpress 2.8 this happened. LOOK AT THE SITE before you tell me nothing is wrong. Please help me out.
    Check out Sportsroids.com to see the issue with the update to wordpress 2.8

  225. Mike a scris:

    15 Iun 09 @ 4:20 pm

    I deactivated and reactivated, and I still have a problem where images from a page are being displayed as thumbs for an excerpt of a post on the same page. The post excerpt is being displayed on the page through my own loop query and not the main loop. The post doesn’t have an image at all, yet it’s displaying a thumb in the post and the thumb is a thumb of an image that’s on the page. Probably sounds confusing, so take a look at this screen shot. I only noticed it after the 2.8 upgrade.

    http://tinyurl.com/mrz834

  226. Mike a scris:

    15 Iun 09 @ 7:54 pm

    Also, just to confirm that this didn’t happen until after the 2.8 upgrade, I setup another site that uses my 2.7 files. The excerpt is displayed as intended and not creating a thumbnail for the image in the page: http://tinyurl.com/l8k7o2

    Seems like it stopped handling correctly when a new query object is defined and is actually taking the image from the first query but still displaying the excerpt from the second/new query.

  227. radu.capan a scris:

    15 Iun 09 @ 8:24 pm

    There is one little/big problem: I am just about to leave town very soon and I am in middle of preparation. After that I have to study the particular cases where this plugin do not work.

    Unfortunately, in none of my websites I encounter the error, otherwise I would have a ground to work on the issue. For example
    http://www.bru.ro/stiri/cluj-gherla/
    shows that the plugin works on 2.8. Of course, not on every site, as the comments show.

  228. Johnny a scris:

    15 Iun 09 @ 9:50 pm

    I turned the plug in off then back on and all of a sudden I had one image for all my excerpts. Even the excerpts for posts that had no images.

  229. Mark M a scris:

    16 Iun 09 @ 10:49 am

    I have more than One column, I am assuming many other people may also have this in their themes, could this be the difference? Johnny do you have multi column theme on the homepage?

  230. bruno a scris:

    16 Iun 09 @ 3:41 pm

    Is it possible for someone to help me with PureType theme. For some reason the plugin does not work there.

    Plz…..

  231. anu a scris:

    17 Iun 09 @ 1:15 pm

    I upgraded to 2.8 and am also having problems (luckily it’s the test/dev version of the site that’s having the issues).

    The main problem seems to be that the latest image is repeated for all thumbs on my home page. Looks like category archive pages are displaying correctly. This may then only be an issue for people who are not using the standard loop for the home page perhaps. More investigation necessary – I’ll see if I can do some over the next few days.

    Contact me if you want access to my dev site (or a copy of database and files)

  232. bruno a scris:

    17 Iun 09 @ 2:45 pm

    I finally managed to get it working with PureType. It seems it was my mistake all along. Now, I did change in /includes/default.php and defaultcat.php

    to

    And it works with WP-O-Matic fetched posts. Thumb shows fine. All fine. But only one issue – CROPPING.

    It seems thumbs do maintain their dimensions, and I would like a specific size, which if not matched to be cropped.

    The media settings in WP do not help, as set them, but no effect. Any other advice regarding this ?

  233. bruno a scris:

    17 Iun 09 @ 2:46 pm

    Sorry the code up disappeared

    ?php the_content_limit(200, “”); ?
    to
    ?php the_excerpt(__(‘Read more…’, ‘elegantbox’)); ?

  234. bruno a scris:

    17 Iun 09 @ 3:22 pm

    Last update on this. TFE works, but only not for fetched post with WP-O-Matic. When creating a post and inserting large image, TFE uss the WP media options. Ok. But not when using WP-O-Matic.

    Can someone help ?

  235. Owen a scris:

    18 Iun 09 @ 6:54 pm

    Radu – it is NOT working after the upgrade to 2.8. See homepage of docgurley.com – those two images at the top should be different – they used to be. Note that it is not just the image – the date is also wrong. It is taking the image and date from the first instance in the loop and using it for all instances – and it is only a problem with the excerpt – the title is not pulled from the excerpt and is correct

  236. André a scris:

    19 Iun 09 @ 5:26 am

    Same here. error when upgrade to Wordpress 2.8.

    I’m seriously thinking in downgrade… anybody got a solution?

  237. André a scris:

    19 Iun 09 @ 6:08 pm

    Same problem here when updated to wordpress 2.8. Has anybody figure out how to fix it?

  238. Cory Duncan a scris:

    19 Iun 09 @ 6:31 pm

    I’m also having the one thumbnail problem since upgrading to WP 2.8. Specifically in the admin (edit posts listing with excerpt view turned on). I don’t use the plugin for the frontend. Any help would be great. Thanks

  239. THE 5 most useful Wordpress Plugins | design blog of dannyhinde a scris:

    20 Iun 09 @ 1:15 am

    [...] Thumbnail for excerpts – Automatically creates thumbnails for excerpts from images included in posts. Once installed this is a hassle-free plugin and can be customised with simple CSS coding. [...]

  240. Jim B. a scris:

    22 Iun 09 @ 5:14 am

    Radu, here is part of the code that links the thumbnail

    (TFE_LINK=="yes"?"<a href=".get_permalink($id)." rel="nofollow">":"")."&lt;img src=&quot;.$img1.&quot; 

    If we want to link thumbnail to the larger image it looked at to make the thumbnail but still keep it global for all post is there a type of get_image(Sid)

    Thanks

    JIM

  241. Jim B. a scris:

    22 Iun 09 @ 5:26 am

    Sorry, let me try again.

    TFE_LINK is in 4 places in php file. Can we globally change get_permalink($ID) to get the larger image that the thumbnail was made from and not have the link go to the page itself.

    thanks

    jim

  242. JH a scris:

    22 Iun 09 @ 7:29 pm

    Excellent work!

    The thumbnail doesn’t show up when I use this code:

    previous_post_excerpt();
    next_post_excerpt();

    Can you please help me modify your plugin, so it will display the thumbnail using the codes above? Thanks.

    Keep it up!

  243. Kate a scris:

    22 Iun 09 @ 9:17 pm

    I’m having the same problem: 2.8 makes all my custom WP_query calls display the latest image as a thumbnail. I’ve disabled the plugin until the bug fixes are made, but can anybody tell me how to code out the thumbnail in those WP_query blocks on my index.php so I can enable the plugin? As others have noted, it’s displaying correctly on the archive and category pages.

  244. Gary a scris:

    23 Iun 09 @ 7:30 pm

    We have the same issue as the people above. Since upgrading to WP 2.8, the website takes the most recent image and makes it thumbnail for everything on the homepage.
    We publish stories privately – but you can see what I mean by looking at the older stories on the homepage.
    Has anyone managed to get a solution?
    Best,
    gary

  245. norm a scris:

    24 Iun 09 @ 12:13 am

    Still not working properly. The latest post image is looping for all side posts. It might work with some themes but not with all.
    I’m using it in the columnist column in the huteck webzine theme.

  246. Kate a scris:

    26 Iun 09 @ 3:08 am

    This is very, very weird. I upgraded a couple of other plugins today (sorry, don’t remember which ones) and when I enabled the Thumbnail For Excerpts so I could bang my head on it a bit more – it works. So, we’re looking at a conflict with some other plugin, I guess. That would also explain why not everybody is having this problem with 2.8.

  247. Kate a scris:

    26 Iun 09 @ 7:45 pm

    Never mind – my first post had a nonstandard image. As soon as I updated with a new post the problem returned. Ungood.

  248. Kate2 a scris:

    28 Iun 09 @ 8:19 pm

    BEWARE: I just tried to post a fix for this problem, and because I inserted one URL to an example on my site the comment was deleted and my email marked as a spammer.
    What I was trying to do was offer this workaround:
    You can hide your excerpts on your homepage from this plugin by surrounding them with divisions. Be sure to give it a unique name; mine is called “cityfront”
    Then, insert this in your CSS:
    #cityfront .imgtfe { /*removes thumbnails from city listings on index*/
    display: none;
    }
    The plugin then appears to work fine on the category pages, etc.
    Meanwhile, I’m deleting this plugin from my site and going to give TimThumb a try. Using a plugin that’s not properly supported makes me very, very nervous.

  249. Richard a scris:

    01 Iul 09 @ 6:23 am

    @bruno a scris: I’m also having this problem on WP-O-Matic, but it looks like your site is working fine again now. Can you share the solution ?

    thanks

  250. Stijn a scris:

    02 Iul 09 @ 3:48 pm

    Thank you so very much for creating the ‘Thumbnail for Excerpts’ plugin! I can’t believe I never found it before. It’s just what I’ve been looking for all these past months. It works right out of the box, with stunning result. Thank you, Radu!

  251. Johnny a scris:

    02 Iul 09 @ 5:12 pm

    I’m still having trouble. I am using Futurosity as my theme and when I have the thumbnail plugin turned on it posts the latest thumbnail as the thumb for all the posts (18) on the home page.

  252. dudes a scris:

    13 Iul 09 @ 4:55 pm

    How can I set the length size?
    width works fine, but length does not work… not in the css and not with the wordpress media settings…

  253. MarkM a scris:

    14 Iul 09 @ 10:45 pm

    Radu, you have not replied in so long. I know you said you were going away on a trip for a while. Please e-mail me as soon as you return. Your plugin is an important part of my website and I would rather give you a chance to UPDATE the plugin, instead of ditching you and your work to find another plugin with a more reliable person behind it to help.

  254. Pietro Marafiga a scris:

    15 Iul 09 @ 12:19 am

    Is there some way to add a “read more” link, like we do in the_content() template tag?

  255. Anuj a scris:

    17 Iul 09 @ 8:29 pm

    Dear Sir Your plugin is not working with my site, Kindly help me as i have wordpress 2.8.1

    Regards

  256. BdF a scris:

    19 Iul 09 @ 12:44 pm

    Great plugin indeed, 1 suggestion:

    When a post has no images, option to have a default thumb image inserted.

  257. Igor Kheifets a scris:

    20 Iul 09 @ 7:38 pm

    I am using WordPress dream theme.
    On my home page, there are 7 posts with
    excerpts.
    Every single one of them shows the same excerpt
    from the last published post.
    What can I do(please reply to email)

    Igor Kheifets

  258. João Leitão a scris:

    21 Iul 09 @ 10:35 am

    I have a photo gallery, so photos inside post have plus than 150kb of size, which can be slow showing all thumbnails on the archive page. Is there any way I can decrease thumbnail quality? Any thoughts?

  259. Carolyn a scris:

    26 Iul 09 @ 8:24 pm

    Hi. I love this plugin and I love the look it gives to my home page. The problem I’m having is that my RSS feed is showing multiple thumbnails since I’ve installed it. It’s not happening with every post, but it seems that if I have the post listed in multiple categories, this happens.

    I saw above that someone had asked about not including the thumbnails in RSS, to which you answered to change the code is_rss. Now, I’m a bit of a code moron. Where should I add this? I looked in the plugin editor but didn’t see anything like it. Can you help me?

  260. etomyam a scris:

    27 Iul 09 @ 4:46 pm

    Thanks for this great plugin, very simple yet the most practical way, I’m using it entirely in my blog. The only thing concern me right now is the code inserted lead to invalid markup… and I’m sure there must be a solution for it…

  261. MeG a scris:

    01 Aug 09 @ 3:12 pm

    Hi,

    I recently upgraded to WP 2.8.2 and now get the following errors:

    I am using NextGen Gallery and the normal image gallery in WP to show photos in the pages (which should be showing on the exerpts) but get these errors:

    Warning: imagecreatefromjpeg(/home/…/images/gallery/flower-gallery/pinktablecentre_big.jpg) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory in /home/…/wp-content/plugins/thumbnail-for-excerpts/thumbnailforexcerpts.php on line 129

    Warning: imagesx(): supplied argument is not a valid Image resource in /home/…/wp-content/plugins/thumbnail-for-excerpts/thumbnailforexcerpts.php on line 130

    Warning: imagesy(): supplied argument is not a valid Image resource in /home/…/wp-content/plugins/thumbnail-for-excerpts/thumbnailforexcerpts.php on line 130

  262. WordPress als Portfolio | Roman Harcke a scris:

    04 Aug 09 @ 9:15 pm

    [...] Eure Bilder sind die Herzstücke der Fotoseite oder des Portfolios. Ein besonderes Augenmerk sollte also auf der professionellen Präsentation der Bilder liegen. Um euch die mühsame Arbeit des Codens zu erleichtern, stelle ich euch hier noch einige WordPress Plugins für Bilder vor. Vorschaubild in Zusammenfassung integrieren [...]

  263. ghazal a scris:

    05 Aug 09 @ 5:59 am

    Supported 2.8.2?
    Work with 2.8.2?
    Thanx.

  264. paul a scris:

    08 Aug 09 @ 7:50 pm

    I have been working with your plugin for quite some time and it always worked well with my template but i upgraded the wordpress platform to the most surrent version and now it i jave the molst recent uplaoded picture being repeated on every excerpt?
    Can you suggest a solution?

  265. Andersreisender a scris:

    09 Aug 09 @ 12:09 am

    Thank you very much for this great plugin. With it I can present my travel-diary from Romania perfectly in my blog.

    I have only troubles with the romanian characters in Wordpress – but this is not a problem from your Plugin ;-)

  266. Cory Duncan a scris:

    10 Aug 09 @ 7:00 am

    To people having the issue where the excerpt is the same for every post, that started occurring with this plugin WP 2.8+, here’s a fix. Replace lines 28 & 29 with this:

    global $wp_query, $wpdb, $post;
    $id = $post->ID;

  267. Jeff a scris:

    13 Aug 09 @ 9:31 am

    Thanks very much Cory. Solution works fine.

  268. Cheong a scris:

    13 Aug 09 @ 11:27 am

    I’m using wordpress 2.8.4. When the plugin is activated, it mess up my images within each individual post. But it’s working ok when in front page, only showing the first image it found from the respective posts. What happened was that in individual post,images from other unrelated posts are also shown. Any one faced the same problem? Any solution?

  269. Semblance a scris:

    13 Aug 09 @ 12:43 pm

    @MeG I had the same issue. I am still building on this particular site. Luckily I was not that far with the site, so I just started again with a fresh database. But perhaps try to uninstall both plug ins and then reinstall both again. Even if you might have to set up your galleries again. Probably better than starting from scratch.

  270. Cheong a scris:

    15 Aug 09 @ 8:27 am

    Hi all, i have found solution to my problem mentioned above.
    It’s due to conflict with the other plugin “Yet Another Related Post”. i have recently updated the plugin and then the problem with “Thumbnail for excerpt” started.

    I rolled back the “YARP” plugin, now everything is fine.

    Thanks.

  271. JMANIA a scris:

    16 Aug 09 @ 3:58 am

    Thanks for the great plugin. Saved me a lot of time. Does anyone know how to grab the second pic from a post?

  272. JMANIA a scris:

    16 Aug 09 @ 5:07 am

    I came up wit a simple workaround for grabbing the second image instead of the first. I added a . before the <img tag in the plugins
    php file:

    $pos = stripos($content,".<img");

    Then in the html code of the post I did the same thing:

    .<img class="alignleft size-full wp-image-1316" style="border: 0pt none;" title="200 "……

    Now the plugin will grab only the images with the . in front of the <img tag.

    The only drawback is that the . becomes a link to the image shown in larger view with lightbox. There must be a better way. Please help.

    Thanks

  273. Edward a scris:

    16 Aug 09 @ 7:07 pm

    Can you change the code, so that when you click the excerpt thumbnail it takes you to the Post as opposed to showing you the full image???

  274. JMANIA a scris:

    16 Aug 09 @ 8:41 pm

    When I click on the thumbnail excerpt it does take me to the post. I just didn’t want the “.” that I used before the <img tag so that the plugin can grab the second image instead of the first, to be a link.

    Is there another way to grab the 2nd pic instead of the default first?

    Thanks

  275. Ruben a scris:

    18 Aug 09 @ 2:23 am

    Hello!

    I have very strange bug with browsers.

    Please see the page http://www.arenda-kvartir-peterburg.ru/posutochnaya-arenda-catalog in the:

    1. Opera (bug with the high of the thumbnails, but the high is OK)
    2. Chrom (Bug with the high of the thumbnails, but the with is OK)
    3. Firefox (both with and high are OK)

    Please help!

  276. Stefano a scris:

    18 Aug 09 @ 5:04 pm

    Great plugin, thanks a lot!

  277. Irvan a scris:

    22 Aug 09 @ 11:37 am

    I found same problem with Mark, it has added a thumbnail where it shouldn’t have, and the same thumbnail always taken from the first post (with attached thumbnail). I found inside the loop that the var ‘$content’ always refer to same $id value.

    I removed this line from the code and it works!

    $id = $wp_query->post->ID;

    Thanks anyway for Radu Capan for this great plugin.

  278. Eric a scris:

    26 Aug 09 @ 11:09 pm

    Radu, I’m not sure if you’re interested, but I’ve updated your plugin to have a settings page. That way the user doesn’t have to go into the plugin file and change the settings manually. Email me if you are interested.

  279. Rafael a scris:

    27 Aug 09 @ 1:48 am

    Great plugin. Just what I was looking for.

    I found that the thumbnails are reduced proportionally when viewing http://www.site.com. Most of my images are vertical rectangles, so the resulting thumbnails are small vertical rectangles. No problem.

    BUT,

    The thumbnails are reduced AND cropped square when viewing http://www.site.com/blog/.

    Any idea what could be causing this? And how to get the thumbnails to show up as a consistent size?

  280. Argie a scris:

    27 Aug 09 @ 5:10 pm

    Awesome plugin!!!! I was looking for a plugin like this during weeks…
    But I miss a feature: thumbnails of videos. Sometimes I have just a video in my post, and I’d like to get a image from it, and not just a default image (or nothing).

    Thank you!!

  281. Adding a Carousel Gallery | Desperately Seeking WordPress a scris:

    02 Sep 09 @ 7:58 am

    [...] this was the only one that didn’t conflict. (We use Advanced Excerpt by Bas Van Doren, and Thumbnails for Excerpts by Radu [...]

  282. Luberzki a scris:

    03 Sep 09 @ 5:08 am

    Wow, this is great.. This is what I need for some of my blogs..

  283. The Excerpt Tag in WordPress | Lestini Designs blog a scris:

    04 Sep 09 @ 1:56 am

    [...] anything in this case. To get around the image not displaying on the page listing I am using the Thumbnail for Excerpts Plugin. This plugin searches the post for the first image. If exists, than it will search for the [...]

  284. RBMX a scris:

    05 Sep 09 @ 12:06 am

    I turned the plug in off then back on and all of a sudden I had one image for all my excerpts. Even the excerpts for posts that had no images. I have the same issue exactly the same after upgrading 2.7.1 to 2.8.4
    Only on the home page taking one image for all preview. WHY?????????

  285. Cory Duncan a scris:

    06 Sep 09 @ 8:05 pm

    @RBMX Here’s a solution for the same-image problem.

    Replace lines 28 & 29 with this:

    global $wp_query, $wpdb, $post;
    $id = $post->ID;

  286. matt d a scris:

    08 Sep 09 @ 2:40 am

    I was developing a blog at website.com/dev WP 2.8.3 and plug-in work perfectly. Then I moved the blog address to be just website.com keeping WP in same /dev directory. Now thumbnails are generated but don’t follow any sizing limitations set. Is it a pathing issue?

  287. Sassy Monkey a scris:

    10 Sep 09 @ 11:10 pm

    I’m having a similar problem after updating from 2.7.x to 2.8.4 with thumbnails repeating or not appearing depending on the page. Here are the details:

    Sidebar on all pages of site has a 3 item list of excerpts based on a single post category (see code example below).

    After updating WP to v2.8.4, the images from the posts of origin no longer properly appear as thumbnails beside the excerpts. Rather, whatever image is currently displaying in the main content column is repeated in the sidebar as thumbnails. So, if there’s an portrait of a person as the first image in the main content, it shows up three times in the sidebar as thumbnails next to each excerpt.

    If there’s no image on the page’s main column, no thumbnails appear next to the excerpts.

    This happens on both Pages and Posts.

    I tried deactivating and reactivating the plugin without success. I then tried deleting the old plugin and downloading a fresh version 1.3 to reinstall. I also tried deactivating all other plugins except Thumbnails for Excerpts, but the same problem happened.

    The code I’m using to render the titles and excerpts is hard-coded into the sidebar.php template file:

    <?php $postlist = get_posts(‘category=38′);
    foreach ($postlist as $post) :? ><li><a href="<?php the_permalink(); ?>"><strong><?php the_title(); ?></strong></a><br />
    <span class="excerpt"><?php the_excerpt(); ?></span></li>
    <?php endforeach; ?>

    I’d love to show you the site with the problem, but it’s a live site for a client and so I deactivated the plugin. However, the site in question is: http://gracerubenstein.com/

  288. M. Douglas Wray a scris:

    11 Sep 09 @ 7:15 pm

    Thank you Cory!!!!

  289. Mapi a scris:

    14 Sep 09 @ 10:25 am

    Hello guys,
    Great plugin that is. I’ve just started using it and it’s a really good thing, and easy to handle.

    Now, I have a problem with the layout. I have a dotted line at the end of each post in my blog, but this line is connected to the length of the text, not the thumbnail. I would like this line to be aligned under each thumbnail, no matter how long the text excerpt is. Is that possible?

    I’m going to show you a screenshot here: http://img171.imageshack.us/img171/7356/thumb4excerpts.gif

  290. reno a scris:

    14 Sep 09 @ 12:29 pm

    No speak english. The plugin thumbnail for excerts is compatible WP 2.8.4??? Thank you.

  291. Jamie a scris:

    15 Sep 09 @ 11:11 pm

    The plugin is not working on my homepage excerpt but it does work in the RSS feed. Any thoughts?

  292. Mapi a scris:

    15 Sep 09 @ 11:22 pm

    Is there another forum or place where we can discuss this great plugin?

  293. ”Tumnaglar” i ”Kategorier” ? - KONSTiT a scris:

    23 Sep 09 @ 5:08 pm

    [...] helt eget fulhack var att hämta en plug-in (Thumbnail For Excerpts), kopiera hela koden och slänga in den i toppen av ”Archive.php”… Fungerar [...]

  294. Jen a scris:

    23 Sep 09 @ 5:53 pm

    Actually, I had the “unrecoverable” error Rene is experiencing on just one post. Turned out to be the only post where I’d ever used a .gif image. Changed the image to a .jpg, and all was well.

  295. Daniel a scris:

    24 Sep 09 @ 8:50 pm

    Hi!

    I try to use it with RS_Events and it does not work. Maybe because of

    ‘%EXCERPT%’ => apply_filters(‘the_excerpt’, $event->excerpt),

    in rs_events?

  296. Daniel a scris:

    24 Sep 09 @ 8:51 pm

    ps: it works fine in the archives page… http://5vor12foto.at/

  297. Mubera a scris:

    26 Sep 09 @ 6:16 am

    Plug in is great, but it causes validation errors in WordPress 2.8.4.

  298. Gary a scris:

    26 Sep 09 @ 3:53 pm

    Anyone having the same image in all posts problem (as we did) – I just worked out how to do the fix Cory Duncan has described above (changing lines 28/29 in the code – using the plugin editor) and it worked!

    How about updating the plugin with this fix – so it works with v2.8 and on?

    Anyway, glad to say it’s still a great plugin … now it’s working again!

  299. Steve a scris:

    26 Sep 09 @ 10:43 pm

    Is there any way to have a fixed width of let’s say 100px and a fixed height of 50px without the image being stretched?

  300. Eric a scris:

    01 Oct 09 @ 6:27 am

    Hi, just wanted to say a great thanks to the author of this plugin! Works wonderfully!

  301. oes tsetnoc a scris:

    01 Oct 09 @ 10:23 am

    Hi. Just like to tell you that this piece of info is one quick to the point, no nonsense, workable and effective way as fast as possible. It worked for me and thank you for the effort. Keep up the good work.

  302. Fili An a scris:

    03 Oct 09 @ 7:16 am

    Brilliant. Looks terrific. Thanks.

  303. My Top 10 WordPress Plug-ins | Create My - eCommerce and Web Design Hornsby - eCommerces and Web Design Sydney a scris:

    04 Oct 09 @ 7:03 am

    [...] Thumbnail For Excerpts adds the thumbnail of the first image to the excerpts for blog posts. This is handy for themes that [...]

  304. Guillermo a scris:

    07 Oct 09 @ 4:59 am

    Most of the errors related here are the same error.

    Take a look at this:

    C:wampwwwastarbaguswordpress/http://www.diseniomadreselva.com.ar/imagenes/borde_derecho.gif

    That cannot be executable. And that happends when images has external links:

    I tryed to solve this issue this way, but some other problems came up:

    if (strpos($img1, “http”) !== FALSE){
    $im = imagecreatefromjpeg(substr($img1,stripos($img1,”wp-content”)));
    }
    else{
    $im = imagecreatefromjpeg(realpath(“.”).”/”.substr($img1,stripos($img1,”wp-content”)));
    }

  305. Guillermo a scris:

    07 Oct 09 @ 3:54 pm

    OK. I managed to make it work with external linked imagesn and height resize too. I added some conditionals so to make it work.

    For localhost, it will also make the job if you are running Windows with PHP 5.3 (PHP 5.2.9 doesn’t support imagecreatefromjpeg() method for externally hosted images).

    Here it is:

    $condsize = “width”;
    if ((TFE_MAXSIZE==”yes”) && extension_loaded(‘gd’) && function_exists(‘gd_info’)) {
    if ((strpos($img1, “http”) !== FALSE) and (strpos($img1, “jpg”) !== FALSE)){
    $im = imagecreatefromjpeg($img1);
    }
    elseif (strpos($img1, “jpg”) !== FALSE){
    $im = imagecreatefromjpeg(realpath(“.”).”/”.substr($img1,stripos($img1,”wp-content”)));
    }
    elseif (strpos($img1, ‘png’) !== FALSE) {
    $im = imagecreatefrompng($img1);
    }
    elseif (strpos($img1, ‘gif’) !== FALSE) {
    $im = imagecreatefromgif($img1);
    }
    if(imagesx($im)<imagesy($im))
    $condsize = "height";
    }
    echo (TFE_LINK=="yes"?"“:”").”".(TFE_LINK==”yes”?”“:”");

  306. Kelly a scris:

    08 Oct 09 @ 2:14 pm

    Great plugin! But one problem – if you add a caption to an image in the main post(using the caption field in the image uploader), then the caption ID shortcode is appear in the extract, like this: [caption id="attachment_466" align="alignright" width="125" caption="Wilton Library"][/caption]. I’d love to keep using this terrific plugin, but can’t if there is no way around this. Any ideas on how to supress this caption code from appearing in the extract?

  307. Kelly a scris:

    08 Oct 09 @ 2:25 pm

    Found a solution to the [caption] code appearing in the extract if you use the thumbnail for experts plugin – also install Sue Bailey’s Better Excerpt plugin, which suppresses the [caption] code and gives you control over the extract length, read more link, etc. Download Better Excerpt: http://wordpress.org/extend/plugins/better-excerpt/.

  308. Douglas Baldan a scris:

    16 Oct 09 @ 9:45 pm

    Thanx Kelly, that trick really worked. :)

  309. robert lanson a scris:

    21 Oct 09 @ 6:28 am

    This plugin is active and set up exactly as stated but it does absolutly nothing.

    Any Idea?

  310. robert lanson a scris:

    21 Oct 09 @ 6:54 pm

    This plug-in works fine in the default theme but not in other themes such as K2. How can we get this to work ?

  311. robert lanson a scris:

    22 Oct 09 @ 7:12 pm

    K2 Theme works using the_excerpt not bthe_content on the homepage but when I click more on the excerpt I do not get the full article instead I just get the_excerpt of just that article. this is a beautiful plugin but does not work with other plug-in’s such as Home page excerpts. Any help here?

  312. Douglas Baldan a scris:

    22 Oct 09 @ 9:55 pm

    Hey Kelly,

    the trick about the other plugin works, but it get rids of the html formatation of the excerpt.

    The problem is:

    if the image is the first thing on the post and you add a legend to it, the plugin puts that on the main page too. This doesn`t happens if the image isn`t the first thing to show on the post.

    There is any way to fix it?

  313. Scott Gutke a scris:

    27 Oct 09 @ 6:52 pm

    How do you implement Thumbnail for Excerpts with NextGen Gallery by Alex Rabe. When I insert a pic with NextGen, I do it with the following code: [singlepic id=585 w=585 h=435 float=left]. Is there any way to reference the [singlepic] so that Thumbnail for Excerpts recognizes this as a pic and creates a thumbnail for my archived posts?

  314. Bart a scris:

    28 Oct 09 @ 5:36 pm

    Thank you! This is a great script. I installed it, configured it, and it works perfectly.

    FYI: It doesn’t like to make thumbnails from progressive jpgs. It tries, but leaves a broken image. No prob though, don’t really need progressives much anymore.

    Thanks again for a great script!!!

    Pax

  315. ayurvedic hand sanitizer a scris:

    03 Nov 09 @ 9:14 am

    This plugin for WP seems to be super help.
    I may use thumbnail excerpts in new design I’m planning.

    Thanks :)

  316. Top 20 Most Useful Wordpress Plugins | Jaybot7 : Jason Surguine : Music : Audio : Design : Games a scris:

    05 Nov 09 @ 9:45 pm

    [...] Thumbnail For Excerpts – This shows pictures (if they exist in the post) above the small teaser columns at the bottom and on archives pages automatically. People like pictures. [...]

  317. blind486 a scris:

    06 Nov 09 @ 11:49 pm

    Bobz was right. Please update the tags with “”. to have it w3c validated.

    Bobz a scris:
    14 Dec 08 @ 5:00 pm
    Hi there,
    nice plugin – me like (y), but..
    it doesnt pass validator because there is no ” around tags.
    Iv fixed this for me, so maybe you can implemet it to next update version, just need to add \” around all tags, and need to close img tag so at end is />
    at alt and title tag replace ‘ with \”
    and then it can pass w3c validation
    cheers

  318. German a scris:

    07 Nov 09 @ 1:29 pm

    Hello,

    when I try to validate my site on w3c I found a lot of errors like this:

    “an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified.”

    I was researching and looking for the problem, and I see this plugin generate the links without both quotes.
    I don’t know php, but in the code of the plugin I see there are both quotes… So, how could I fix this problem?

    thank you very much.

  319. German a scris:

    07 Nov 09 @ 2:12 pm

    Hi blind486,

    please, could you paste here the code that is necesary modify to avoid errors of validation?

    Thank you!

  320. Brad Bice a scris:

    07 Nov 09 @ 10:33 pm

    Here is my line 124 from that script. I believe it should work ok:

    echo (TFE_LINK==”yes”?”“:”").”".(TFE_LINK==”yes”?”“:”");

    Turns out others had to replace line 133 too, with this:

    echo (TFE_LINK==’yes’?’‘:”).”.(TFE_LINK==’yes’?’‘:”);

    I just tried that out. I suppose my theme is doing something different than theirs, which is why you I changed line 124.

    Then they had to change the “no” of line 22 to yes because it didn’t add alt tags, which they hadn’t figured out before because it gave so many errors, now it was only the missing alt tag that gave them errors;

    define(“TFE_TITLE”,”yes”);

    Other than that, I haven’t used the script much more than just trying it out once. Good luck!

  321. 6 trendów w szablonach WordPress, czyli jak być na czasie | Sekrety WordPress a scris:

    08 Nov 09 @ 3:33 am

    [...] Thumbnail for Excerpts – automatycznie zmniejsza obrazki z postów lub dodane przez bloggera [...]

  322. German a scris:

    10 Nov 09 @ 1:11 pm

    Thank you Brad for your help, but when I do the changes you said the page returns an error.
    Why in the line 124 you use double quotes, and in the line 133 you use sngle quotes? Is that an error?

  323. Matthew Carlin a scris:

    10 Nov 09 @ 11:35 pm

    I’m trying to use this on one of my sites and it works ok on the homepage where it’s the excerpt but on the page for the post itself it’s adding the thumbnail in twice here above my main image.

    Anyone know whats going on?

  324. Conscious Beauty | WordPress Asylum a scris:

    12 Nov 09 @ 11:36 pm

    [...] Thumbnail for Excerpts [...]

  325. Dorataya | WordPress Asylum a scris:

    13 Nov 09 @ 12:16 am

    [...] Thumbnail for Excerpts [...]

  326. Joe a scris:

    16 Nov 09 @ 8:13 pm

    Hello,

    I downloaded the Thumbnail For Excerpts on my Wordpress MU blog directly from the Plug-ins Menu. I activated it on the 6 blogs I have and it did not work immediately. Did I do something wrong?

  327. Craig a scris:

    17 Nov 09 @ 1:28 pm

    I would massively appreciate it if somebody could send me a validating version of the code!
    rubberarse@yahoo.co.uk

  328. Douglas Baldan a scris:

    18 Nov 09 @ 4:14 pm

    FOR EVERYONE who is having the error “[function.imagecreatefromjpeg]: failed to open stream: No such file or directory in /home/…/wp-content/plugins/thumbnail-for-excerpts/thumbnailforexcerpts.php on line 129″

    Here is the solution:

    on the line 129, change add the @ after the = simbol:

    $im =@ imagecreatefromjpeg(realpath(“.”).”/”.substr($img1,stripos($img1,”wp-content”)));

    This will omit the error and won’t print it;

    and comment the line 130:

    // if(imagesx($im)<imagesy($im))

    its a analog comparsion, so you can comment it freely.

  329. links for 2009-11-21 — QuerBlog.de a scris:

    22 Nov 09 @ 5:04 am

    [...] Thumbnail for Excerpts – plugin for WordPress | CNET.ro Thumbnail for Excerpts – plugin for WordPress (tags: wordpress plugins gallery plugin bild photo) [...]

  330. WordPress 自動產生文章縮圖 | TechNow 當代科技 a scris:

    25 Nov 09 @ 4:51 am

    [...] 外掛作者網址:http://www.cnet.ro/wordpress/thumbnailforexcerpts/ [...]

  331. 10 außergewöhnliche WordPress Bildergalerie-Plugins | Elmastudio a scris:

    26 Nov 09 @ 11:10 am

    [...] 10. Thumbnail for Excerpts [...]

  332. Julian a scris:

    26 Nov 09 @ 2:59 pm

    Hey There,

    Thanks for an awesome Plugin. It works well with my Page.
    I have just one question. I would like to link the excerpts text i receive on my page.

    Without using the plugin it works fine in this way: a href=get_permalink -> php the_excerpt -> /a

    But when i activate the Plugin the text is no longer linked, only the image is.

    Is there any way to change this ? Maybe in the “thumbnailforexcerpts.php” ?

  333. Callum a scris:

    28 Nov 09 @ 8:45 pm

    The problem with WordpressMU is that the directory for images is dynamically created for visitors by .htaccess

    This plugin relies on a kind of hard-coded ‘wp-content’ folder. WordpressMU doesn’t allow for it, sadly.

  334. Sebas a scris:

    04 Dec 09 @ 3:39 pm

    1. Need a Thumbnail-Implementation for NextGen Gallery, too.

    2. Need the alternative, if a exist in the excerpt, than take this one (instead of the post).

  335. Getch a scris:

    06 Dec 09 @ 5:32 am

    Would this plugin be able to help me? I would like to display only the first 100 pixels of an image as excerpt. The idea is to have a “photo of the day” type of post that will have a full size image with text post, however on the main blog page I only want a portion of the image as the excerpt. If not, happen to have any ideas how to accomplish this?

  336. contaminuti a scris:

    06 Dec 09 @ 12:35 pm

    Great! It was THE solution after trying many others…

  337. Alfred a scris:

    09 Dec 09 @ 2:48 am

    Updating to the new version messed up my blog.
    all the images that was being used by the plugin (that is the thumbnail images of the first image in the post) have all disappeared !

    Now it just show broken images on all the posts !

    Please help i ran the regenerate thumbnail plugin, it completes but still no thumbnails for the fist image in each post !

  338. Big Geek Daddy a scris:

    09 Dec 09 @ 2:48 am

    I updated the Plugin today and now I can’t get the thumbnails to show even though the image is in the post. What’s causing this?

  339. Clarence a scris:

    09 Dec 09 @ 3:22 am

    I had version 1.3 of this plugin working on my site. When I upgraded to version 2.0, excerpts are now being shown for my pages (my welcome page, for example) and for my main blog, which I do not want. I don’t see any settings to change this.

    I would like to fix this, or download version 1.3 again. Any help would be appreciated.

  340. Alfred a scris:

    09 Dec 09 @ 3:24 am

    downgrading to version 1.3 of your plugin has got it working for now.

    with version 2.0 if i use the regenerate option inbuilt in your plugin it shows “-1″ and stops rest of page from loading.

    Seems the old version of the plugin removed the thumbnails ?
    Or maybe it was because the first image my posts were usually 150X150 or lesser size (so maybe thumbnails weren’t generated)

    I see the plugin looks for a xxxx-150X150.jpg files which doesnt exist in my case.

    As for the rest of the images in each post, they all have the 150 thumbnails its only the first one that doesnt (probably due to smaller size)

  341. Clarence a scris:

    09 Dec 09 @ 3:37 am

    OK, I fixed the issue by making the following changes:

    function tfe_change_to_excerpts($content){
    /* if(is_single() || is_feed()) return $content;*/
    if(is_single() || is_feed() || is_home() || is_front_page()) return $content;
    /* if(is_home() || is_front_page() || is_archive() || is_search()){*/
    if(is_archive() || is_search()){

    I suggest the plugin check to see what excerpt/full text settings are already set.

  342. radu.capan a scris:

    09 Dec 09 @ 7:49 am

    @Clarence, Alfred and Big Geek Daddy: all issues should be fix by the current update. If you are so kind to retry…

  343. Gavin a scris:

    09 Dec 09 @ 7:56 am

    Just adding to the chorus, I just updated and my entire front page got thumbnailed :P

    Had to disable it for now… I will wait for the update to arrive in the wordpress backend.

    Thanks for making this plug in though, it really is an awesome addition to the website… normally. ;)

  344. Parrothead a scris:

    09 Dec 09 @ 10:43 am

    V2.0 on WP 2.8.6 broke my front page completely, which didn’t even have thumbnails. Didn’t show thumbnails in excerpts at all.

    Have downgraded to 1.3 and all is well.

    Hope you get it worked out, I like this plugin.

  345. Peter Misovic a scris:

    09 Dec 09 @ 11:37 am

    Hmm, the new version 2.0 does not display height correctly. I not always use the same size of pictures. In previous version the height ratio was computed correctly, now if I set width to 100 and let the height empty – the displayed size on page stays 150px. :( It would be nice to have height displayed correctly (auto).

  346. Gomisan a scris:

    09 Dec 09 @ 12:05 pm

    Yep, had to disable the plug-in. Took a while to realise what the culprit was as I’d been doing other changes as well.

    New version caused all posts to be excerpts, and all the thumbnails were blank.

    My site also started running VERY slowly.

  347. radu.capan a scris:

    09 Dec 09 @ 12:27 pm

    For everyone: download an updated version from
    http://svn.wp-plugins.org/thumbnail-for-excerpts/trunk/thumbnailforexcerpts.php
    Should fix some of the issue. And go in settings page and deactivate the plugin for sections you don’t want TFE to operate: home, archives, search…

  348. Gomisan a scris:

    09 Dec 09 @ 12:32 pm

    I tried your new code. The thumbnails now work, but your code stil interferes with the Wordpress settings. I specifically have set Wordpress to display the FULL post, and am only using your plugin to work with a Featured Article plugin, but now all my posts have been changed to excerpts, and the Featured Article has no thumbnail showing.

    Needs more polish sorry, though it will be very useful when finished I’m sure.

  349. Peter Misovic a scris:

    09 Dec 09 @ 1:00 pm

    @radu.capan: Thank you for update! It seems to be working fine!

  350. radu.capan a scris:

    09 Dec 09 @ 1:12 pm

    Conclusion from Gomisan issue: TFE Regenerate thumbnails can consume processor. As indicated in setting page, Regenerate Thumbnails plugin by Viper007Bond is recommended. My plugin is not focused on regenerate issue. Pun “no” to Regenerate if your website seems to load slower.

  351. Gomisan a scris:

    09 Dec 09 @ 1:17 pm

    Yes, all working now, and I’ve got a better idea of the functionality of the plug-in. Some of the changes have broken a feature in the theme I am using which relies on v1.3 of this plug-in but that’s not the concern of the plug-in author.

    Thanks for your excellent and fast communications.

  352. Clarence a scris:

    09 Dec 09 @ 1:49 pm

    The changes you made have solved my problem. Thanks for the very fast response!

  353. Radu a scris:

    09 Dec 09 @ 2:36 pm

    I updated the plugin to the latest version, but it seems that all the text from the excerpts is now gone. It just shows the thumbnail. The full post shows the original picture, as well as the thumbnail. I am reinstalling 1.3 now.

  354. radu.capan a scris:

    09 Dec 09 @ 2:43 pm

    Veeery strange. Some people report they have text and no thumbnail, but thumbnails with no text… it’s a debut :) . Anyway, without a link to the website I cannot even start to think about the issue behind.

  355. John W. Frenaye a scris:

    09 Dec 09 @ 4:17 pm

    I love the plug in, and had to deactivate it before from a WP upgrade as in my feeds it was grabbing a seemingly random image and displaying it three times.

    This version is not working for me either. When I created a post (with an image in the upper right corner) and published it on my front page (the top four posts are full content), the plug in cut the post to the first paragraph and did not render the image at all. On the LEFT was a link to the image but not the image.

  356. Ricarda a scris:

    09 Dec 09 @ 10:12 pm

    I had the same problem like Carolyn that the RSS Feed shows pictures which didnt belong to the article. (3 pictures at the beginning of the article).
    I installed the 2.0 Version of the Plugin and now it just shows the thumbnails on the blog and no except anymore.
    I will deactivate the Plugin now and wait for the fix. If you need screenshots of the problem, just mail me.

  357. Morten a scris:

    09 Dec 09 @ 10:25 pm

    I got problems with versjon 2.0 of the Thumbnail for Excerpts. When I update the same picture will repeat it self, no problem if removing v.2.0 and reinstall the old one.

    So no v.2.0 for me until the bug is fixes.

    The problem only come on frontpage, other pages works fine.

  358. Adam Van Wildest a scris:

    10 Dec 09 @ 4:40 am

    here is my link http://www.AdamVanWildest.com

    I have thumbnails, but no text

    cheers,

    Adam

  359. David Ker a scris:

    10 Dec 09 @ 9:36 am

    The version you have given in the comments seems to work OK. I’m using Threat to Creativity and on the home page the plugin seems to insert a small box. That’s better than the previous 2.0 which inserted a big box. I hope you’ll get the patch up at Wordpress as soon as possible.

  360. Peter Misovic a scris:

    10 Dec 09 @ 9:56 am

    @radu.capan: I sent you an email with information you asked for.

  361. Clarence a scris:

    10 Dec 09 @ 5:18 pm

    One more observation. With version 1.3, the image and excerpt in my RSS feed was formatted correctly (image floating left, text to the right.)

    Now with verstion 2.0, the excerpt text is no longer neatly floating to the right, it has been pushed down almost to the bottom of the image and wraps under the image.

  362. Beth a scris:

    10 Dec 09 @ 10:49 pm

    If you need an example of a website that shows thumbnails only – excerpts are gone. You can go to: recycleddog.org.

    My other problem is the the wrong thumbnails are showing in the widget on the left.

  363. Benjamin VINCENT a scris:

    12 Dec 09 @ 4:48 pm

    Hello,
    Wonderful plug-in but I am having a problem too. If I place an image in my post… I see the title, the image thumbnail and the post excerpt on the home page, but when I click on the post title, the page opens… and the post text is gone, as well as the image. Only the title shows, as well as tags, categories, etc… but no image, and no post text. Are you aware of such an issue ?
    I am using Wordpress 2.8.6 and just upgraded to TFE 2.0.
    Thanks for your help !
    Benjamin

  364. Mark Krieg a scris:

    12 Dec 09 @ 6:01 pm

    I love your Thumbnails plug-in! I wanted to let you know that when I upgraded from v1.3 to v2.0 it messed up my website. I’m running on WordPress 2.8.6 using the Thesis theme v1.6. One major difference was that if I had embedded video links in v1.3, it simply didn’t show a thumbnail. With v2.0, it would show an empty space with a default icon, indicating that there’s no thumbnail available.

  365.   Ultimate Guide To Using WordPress For A Portfolio  by Oshoamy a scris:

    13 Dec 09 @ 4:26 pm

    [...] Thumbnail for Excerpts This plug-in automatically displays a thumbnail of a post’s first image in the post excerpt (which appears on your home page or category pages). [...]

  366. Snap a scris:

    14 Dec 09 @ 5:40 pm

    I have ste same problem … only thumbs with no text :( It is from last upadate …

  367. Carlton Bale a scris:

    14 Dec 09 @ 10:35 pm

    Discovered a bug in Version 2.0 (running WordPress 2.8.x). First of all, it defaults to “default image = yes” but there is no default image in the “wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png” location. You should change “Default Image = No” for initial install and you should add a tfe_no_thumb.png file (even if it is a clear PNG.)

    Secondly, with the Default Image enable, it added an image to all of my pages (and posts as well, I believe.) Changing it to NO solved the problem, but it should never interfere with full pages / posts. Not sure if the latest SVN fixed this or not.

    Thanks for the otherwise great plugin!

  368. Carlton Bale a scris:

    15 Dec 09 @ 8:03 pm

    I’m also noticing that the new plugin links to the “/wp-content/uploads/image-150×150.jpg” image instead of setting the display size to 150×150 and linking to the original image. This is a problem, at least with wordpress 2.8, this thumbnail isn’t auto-generated unless you specify to “use 150×150 thumbnail” when inserting the image into the post. If you just insert the original images, and not the thumbnail, there is no thumbnail to display in the excerpt.

    Is the plug-is supposed to auto-generate the 150×150 thumbnail? If not, it’s not guaranteed that Wordpress 2.8.x will either.

    Thanks,
    -Carlton

  369. Carlos a scris:

    15 Dec 09 @ 10:35 pm

    Hello, first of all thank your for your thumbnails plug-in!

    I was having problems with the posts that doesn’t have images, but I did what Carlton suggested in the post above and I was able to solve the problem. Thanks Carlton!

  370. radu.capan a scris:

    16 Dec 09 @ 9:32 am

    I am sorry to see that the version downloadable is incomplete (without that image). The complete version is at

    http://svn.wp-plugins.org/thumbnail-for-excerpts/trunk/

    When some people will make some tests (please help) I will put it as official 2.1.

  371. radu.capan a scris:

    16 Dec 09 @ 9:34 am

    Carlton: about your question. By default, WordPress create 150×150 thumbnails. For those who in articles use external images or images without thumbnail, the plugin should work too. The code is done in that way that it test if that thumbnail exists or not.

  372. Felix a scris:

    16 Dec 09 @ 2:30 pm

    Hello, I have a big problem, I have updated WP to 2.8.6 last version and i have updated your plugin too. I have found this problem… http://www.mariagonzalezveracruz.com/

    Fatal error: Call to undefined function putThumbnailForExcerpts() in /usr/home/mariagonzalezveracruz.com/web/wp-content/themes/mariagv/index.php on line 38

    Can you help please?
    Thanks for your time!

  373. radu.capan a scris:

    16 Dec 09 @ 3:18 pm

    Felix issue was proved to be related to the theme and it’s developer.

  374. Jason Rigler a scris:

    16 Dec 09 @ 9:03 pm

    Same issue as mentioned above. Updating the plugin eliminated the excerpts from my home page. Is there a fix or should i revert to last version. And where can i find that?

  375. Jason Rigler a scris:

    16 Dec 09 @ 9:59 pm

    Ok I downloaded the 1.3 version from the wordpress page, deleted 2.1 version and installed 1.3 and now the excerpts are back. I miss the admin page though! ;)

  376. Hl a scris:

    17 Dec 09 @ 2:08 am

    I updated to 2.0 but i dont want to use my images as links, how can I disable this?

  377. Stefan a scris:

    17 Dec 09 @ 5:11 pm

    Thanks for the plugin! It works great! But how do i get a “Read More” line under my posts again?

  378. radu.capan a scris:

    18 Dec 09 @ 12:12 am

    Hl and everybody: version 2.1 answer to many questions.
    Stefan: not to your question. In few days will be WordPress 2.9 and a solution for you.

    All version (for those who prefer a previous version) are here:
    http://wordpress.org/extend/plugins/thumbnail-for-excerpts/download/

  379. mes a scris:

    18 Dec 09 @ 7:37 am

    First off, thank you for this plugin! I was wondering if there is a way to use a tfe_get_image() kind of tag to place the image anywhere you want inside the loop? This way you can take it outside of the content box and place it above the title or anywhere you’d like. Thanks in advance.

  380. Bernal Aguilar a scris:

    18 Dec 09 @ 7:54 am

    Hi and thank you with this helpful plugin. I am having duplicated thumbnails for each of my posts at the homepage. I tried several templates even kubrick and the same error appears.

    Could you be so kind to point me to right direction. God Bless you.

  381. Björn a scris:

    18 Dec 09 @ 11:36 am

    Using wp 2.8.6 and your plugin Version 2.1

    Only show the “default” image. I’ve tried to regenerate all thumbnails etc, but nothing works…

    What could be the problem?

  382. Beth a scris:

    18 Dec 09 @ 7:45 pm

    2.1 works great! I’m not sure if you tested in Atahualpa but it seems to be working with your latest release! Yay!

    I also use a plugin called Category Posts Widget which displays excerpts for a category in a widget. The thumbnail is only showing the image for the first post. It’s not that big a deal because I’d prefer not to show the thumbnails over there anyway. Do you know of any way that I could put a test in your code to see if I’m in a widget and then not generate/display the thumbnail?

    recycleddog.org

  383. radu.capan a scris:

    19 Dec 09 @ 8:15 am

    @mes: Hmmm… For the moment this cannot be done in actual version. I will reflect on this.
    @Bernal: Problem looks like is solved now.
    @Bjorn: Hard to answer when no website is indicated.
    @Beth: Glad that is working (I’ve change an WordPress event which seems to be more responsive on more themes). As for the second part I will digg to find a function for that. Thank you for your patience.

  384. Craig Mollins a scris:

    20 Dec 09 @ 6:45 am

    Hello. Thanks very much for the free plugin. I just upgraded to the latest version, 2.1, and it created a grey box circle with a line through it, beside my video thumbnails. I am using custom fields to add thumbnails in my post excerpts. Everything was working fine until I upgraded the plugin just now.

    Any ideas?

  385. Craig Mollins a scris:

    20 Dec 09 @ 7:27 am

    I got rid of the grey box by changing the settings, no default image.

    Another problem I just noticed is that the space beside the thumbs is not there. Before I updated I had space beside the thumbs, but not it’s gone. I checked my css and the code is there for adding space beside the thumbs. Do you know what might have happened?

  386. radu.capan a scris:

    20 Dec 09 @ 8:23 am

    Yes, a little change in class. Read in the settings page of TFE plugin.
    PS: If you have a screenshot of your video, from now one you can use the thumbnail introduced by WordPress 2.9 and you will have it shown by TFE, without including the image in the post!!! It’s just better.

  387. Craig Mollins a scris:

    20 Dec 09 @ 8:39 am

    Wonderful. Yes I changed the css class name and it works perfectly! Thank you.

    I’m not sure what you mean about the video. Currently I upload a screen shot, and then add a custom field (video-thumb-url) to the post. You are suggesting something different…?

  388. radu.capan a scris:

    20 Dec 09 @ 8:44 am

    I see that you have a solution for video. Probably another plugin. What I want to say is that:
    - till now, with my plugin a post could have a thumbnail only if in the post was one image! no image, no thumbnail… so a post with a video would not have a thumbnail
    - from WP 2.9, a post can have a thumbnail (is a WP 2.9 feature) which do not need to be included in the post, and my plugin will use this feature and show the thumbnail, even for posts without image(s) inside, but with thumbnail
    For you case, you can continue as it was now, or use the new WP 2.9 feature.

  389. Robert a scris:

    20 Dec 09 @ 9:20 am

    Help! I can’t get this plugin to work with the Thesis Theme. It looks very bad and I don’t know how to fix the CSS and what to do to get the spacing right on the images. The text is hitting the image and this is all a mess. Please help!!! There should be an option in the plugin for margins and spacing instead of having to dig through code. I’m not too technical and this is hard to do for me. Anyone get this to work with Thesis Theme? What do I do?

  390. Craig Mollins a scris:

    20 Dec 09 @ 7:17 pm

    Thanks very much for your support. I’m looking at the new features of WP 2.9 and it looks great. For now I’ll probably continue to use your plugin, as it has worked so well for me.

  391. radu.capan a scris:

    20 Dec 09 @ 7:52 pm

    First: The plugin is working (no?), but you are not happy with the results? Second: Usually CSS stuff, when is minor, is not included in plugin since it depend A LOT ON THE THEME you use (which I cannot foresee). You should read in the settings page and find your answer.

  392. Marco de Vries a scris:

    21 Dec 09 @ 3:54 am

    First of all, nice plugin… But we found a little bug I think should be fixed.

    Lines 278, 279:
    global $wp_query, $wpdb;
    $id = $wp_query->post->ID;

    That way of getting the postID should only be used inside The Loop. With a category widget on the frontpage, all $id variables were the same on our WP-installation. The fix I used was the following, lines 278, 279:
    global $wp_query, $wpdb, $post;
    $id = $post->ID;

    Hope you’ll implement this.

  393. Renato a scris:

    21 Dec 09 @ 7:50 am

    Hi,

    I have 2 questions:

    1) The alt and text never apear, even in the last version and the new one. I wish to grab just the post text.
    2) I use wp 2.9, and I updated your plugin to the new version just now. It crashed it all. The thing is that in the old version I used to chose the width = 150 and the hight was automated generated. And now, it’s not. So my images looks very bad once each of my pics has a diferent proportion. Please help! I had to stop using the plugin.

    Thanks very much, I love your old plugin and I depend on it!
    Nice job!

  394. Miguel a scris:

    21 Dec 09 @ 7:52 am

    Hello, I have this plugin and the plugin wp-united on my blog, and it appears that the two are incompatible. Some help?

  395. yokser a scris:

    21 Dec 09 @ 10:25 am

    Can I choose the position (x,y) of the thumbnail?

  396. radu.capan a scris:

    21 Dec 09 @ 10:32 am

    @Marco de Vries: Thanks for the observation. I will try to see it in action. I just don’t want to change something to work for someone and make it not work for others.
    @Renato: The plugin take the ALT and TITLE are taken. You did not indicate your website so I cannot see the problem. As for width and height, you can choose 150 for width and 0 for height (and in this case the height will be “automated generated”).
    @Miguel: Conflict with other plugin… Hmmm… I am not sure I will investigate such an issue. It’s too particular and now it’s… Christmas.
    @Yosker: Play with CSS for TFE class. It’s all you can do.

  397. Miguel a scris:

    21 Dec 09 @ 11:34 am

    Please, what happens is that the images by default, do not appear. I leave you the link for the look around. God bless and thanks.

    Link: http://www.icristo.com/web

  398. Anne-Estelle a scris:

    21 Dec 09 @ 2:31 pm

    Hi,
    Just need to tell you that you make one of the best wordpress’ plugin.
    The last version is much better. Very good job and thanks a lot!!!!

  399. guil a scris:

    21 Dec 09 @ 4:30 pm

    Radu, thanks a lot, for your good job and ur time to share with us. I’ve two blogs with ur plugin. My first blog is working without problems (plugin V1,2) but the second blog is not working the plugin and I have tested both versions, the old and new. The old version is not working absolutely nothing, and the new version leave a blue border around the image and without aligment (the image above the content). Can u help me? regards

  400. vince Jelenic a scris:

    22 Dec 09 @ 3:20 am

    Hi. I love and used thumbnails for excerpts in wp 2.8.6 and loving it. Very simple implementation, thanks.
    I am using wp 2.8.6 now, upgraded to thumbnails-for-excerpts 2.0. not working out of box. Guess I’ll wait for doing wp upgrade when 2.9.1 is out and stable. But just wanted to say, it was a real timesaver so far, and I expect good things with the new releas too.
    Thanks.

  401. Torstein Opperud a scris:

    22 Dec 09 @ 4:08 pm

    Hi, and thanks for a very nice plugin! However – I have one really annoying problem:

    None of the common solutions to change the [...] into a “read more-link” seems to work when I have TFE activated, while it works perfectly as soon as I deactivate TFE. I have tried both the Excerpt Editor plugin (and a couple others), and several different additions to functions.php, but no luck.

    Could this maybe be an idea to add as an option in TFE, so one would not need several plugins for this?

  402. Bionic Beauty a scris:

    22 Dec 09 @ 9:18 pm

    For those of you asking about the custom CSS changes… I did some digging. The CSS identifiers mentioned above didn’t seem to work in my case.

    Keep in mind, I have my thumbnails set to 100×100, pushed left (set in the Settings section for TFE).


    /*Thumbnail spacing*/
    .custom .tfe {
    margin-right: 7px;
    margin-bottom: 0px;
    }

    The above code is for the Thesis theme. If you aren’t using Thesis, just remove the “.custom”. Code above pushes the text 7 pixels to the right of the thumbnail image. Paste this into your themes CSS file in Wordpress (or use Openhook in the Thesis theme). You can see it in action on my site.

    Hope this helps some people out there!
    Jami

  403. Miguel a scris:

    23 Dec 09 @ 5:56 pm

    hello again, I was researching in the plugin I mentioned, wp-united, and I found this ratecontrol code that’s perhaps as where is the problem, to be Agragar something on this list, just do not know that I must add, here is the snippet of code:

    // A list of vars that we *know* WordPress will want in the global scope.
    // These are ONLY needed on pages where WP is called from within a function — which is only on message_die pages. On such pages, most of these won’t be needed anyway
    var $globalVarNames = array(
    // basic
    ‘wpdb’,
    ‘wp_db_version’,
    ‘wp_did_header’,
    ‘userdata’,
    ‘user_ID’,
    ‘current_user’,
    ‘error’,
    ‘errors’,
    ‘post’,
    ‘posts’,
    ‘post_cache’,
    ‘table_prefix’,
    ‘IN_WORDPRESS’,
    ‘wp_version’,
    ‘wp_taxonomies’,
    ‘wp_object_cache’,

    // widgets
    ‘registered_sidebars’,
    ‘registered_widgets’,
    ‘registered_widget_controls’,
    ‘registered_widget_styles’,
    ‘register_widget_defaults’,
    ‘wp_registered_sidebars’,
    ‘wp_registered_widgets’,
    ‘wp_registered_widget_controls’,
    ‘wp_registered_widget_updates’,
    ‘_wp_deprecated_widgets_callbacks’,
    // comments
    ‘comment’,
    ‘comments’,
    ‘comment_type’,
    // k2
    ‘allowedtags’,
    ‘allowedposttags’,
    ‘k2sbm_k2_path’,
    ‘k2sbm_theme_path’,
    ‘wp_version’,
    ‘wp_taxonomies’,
    // you could add your own here
    ‘wp_embed’,
    );

    help please, God bless…

  404. Bart a scris:

    23 Dec 09 @ 9:21 pm

    I noticed when using this plugin that quotes (“) are stripped from the links. This invalidates the code. Links still work in FF, but I haven’t tested further. Thanks

  405. German a scris:

    25 Dec 09 @ 9:41 pm

    Hello Radu,

    and thank you for this great plugin. I’m using WP 2.8.6, and after I installed last version of your plugin the images are shown above the excert. I setup left align, but even when I try to use css to fix it, and can’t find a solution.

    Any help will be appreciate :)

    Merry Christmas!!

    Germán

  406. German a scris:

    25 Dec 09 @ 9:51 pm

    Fixed!! It was a fool mistake made for myself :)

  407. mes a scris:

    26 Dec 09 @ 9:53 pm

    Hi i’m running into a problem where it doesnt always show the thumbnail. sometimes it is displaying the entire image, just at at the appropriate size. any clue why this is happening?

  408. mes a scris:

    26 Dec 09 @ 10:34 pm

    I fixed it. It will not display the thumbnail for posts that use the MEDIUM size image, only the full size option.

  409. Sharon a scris:

    27 Dec 09 @ 4:30 am

    Hi,
    I’m just setting this site up. I have WP 2.9 and had the older version of the plugin installed–which was working! I noticed there was a new version of the plugin, so I upgraded. Now it is not working. :-( Any thoughts? Thanks! Here’s the site:
    http://www.boomerbiznetwork.com

  410. Sarah a scris:

    28 Dec 09 @ 8:49 pm

    Hello,
    I am developing a new version of my website and I think your plug-in is great, however is there a way to show no thumbnail if the excerpt does not have a photo?
    Also if the only image is a smiley it is showing that as a thumbnail, which does not look nice.

    (The site I am working on is not live)

    Thank you.

  411. Sarah a scris:

    28 Dec 09 @ 8:53 pm

    I figured it out by removing this code:

    array( “name” => “Default image”,
    “desc” => ‘Default image: We provide you one, by default. You can put any image you want.’.WP_PLUGIN_URL.’/thumbnail-for-excerpts/tfe_no_thumb.png’,
    “id” => “tfe_default_image_src”,
    “std” => WP_PLUGIN_URL.’/thumbnail-for-excerpts/tfe_no_thumb.png’,
    “type” => “text”
    ),

  412. Sarah a scris:

    28 Dec 09 @ 9:23 pm

    It wont let me delete that last post but I realised that the above does not work and the option to turn off the default image is in the settings.

    However the smiley still generates a thumbnail and I dont know how to change that.

    Thanx again for a great plug-in!

  413. Miniaturas y resúmenes de entrada | Internet Hoy a scris:

    28 Dec 09 @ 11:49 pm

    [...] embargo, hace poco he descubierto un plugin muy interesante que hace el trabajo por nosotros, thumbnail for excerpts. Basta con incluir una imagen en el post para que el plugin automáticamente la encuentre y la [...]

  414. ER LEE LEE a scris:

    29 Dec 09 @ 3:13 am

    Hello, thanks for creating this plugin^^
    i have some problem with the display,
    could you please visit my site to see the problem,
    http://princess.zettai-glay.com/category/wedding/

    this happen only when the excerpts is too short.

  415. Sachein a scris:

    01 Ian 10 @ 9:42 pm

    Image appears above text rather than beside it.

  416. radu.capan a scris:

    02 Ian 10 @ 10:38 am

    This is a CSS issue of your theme. Please deal with it. You have the class(es), just adjust to your needs.

  417. Stefan a scris:

    07 Ian 10 @ 3:11 pm

    Mersi patroane, merge de minune. Sarumana.

  418. Adam Stone a scris:

    09 Ian 10 @ 12:26 am

    Hi,

    I was using Thumbnail for Excerpts 1.x to format an RSS feed with images. Last year you sent me a line of code that would work with my current theme that has thumbnails so as not to show up twice.

    This worked well until I upgraded to Wordpress 2.9 and 2.1 of TfE. Now when I use the plugin the text in the main articles and sidebar disappear.

    This is what it looks like with the plugin off: http://www.d-toolsblog.com/

    This is what it looks like with the plugin activated: http://www.blog.hybridep.com/

    I would appreciate any help.

    Thank you,

    Adam Stone

    “Search in my plugin the line with if(is_single()) return; Add this line if(!is_feed()) return;
    In that way, my plugin will work on your feed (where I understand you like it) and not on your theme (where you already have the thumbnail effect).”

  419. Quique a scris:

    09 Ian 10 @ 5:28 pm

    Hello! I upgraded to 2.1 and I notice that the pluggin is unfortunately also working on individual pages showing an exceprt on top of the screen… I can not see how can I inactivate this.
    You can see a sample here:
    http://www.viajablog.com/colabora
    I downgraded to version 2.0 and it also happens the same…
    Any ideas?

  420. Jon a scris:

    10 Ian 10 @ 8:53 pm

    Thank you for the plugin, it works, but as someone pointed out I´m also getting duplicated thumbnails for each post. Tried few other themes and happens the same, how can I fix it? thanks!

  421. Tom a scris:

    10 Ian 10 @ 11:57 pm

    Hello

    I’ve installed the Thumbnail for excerpts plugin, but I always seem to get 2 thumbnails appearing instead of the just the one. I’ve only added one thumbnail on the post.

    Any suggestions would be appreciated!

  422. radu.capan a scris:

    11 Ian 10 @ 11:46 am

    Sorry for delay in answering.
    @Adam: the same change modification do not solve the problem? It’s the same philosophy. A future version can encode this if is a common request.
    @Quique: you mean it’s acting on pages, instead of (or also on) posts?
    @Jon & Tom: it must be another plugin which create this. I need to see the websites, to know the theme and plugins used. Plugins should be deactivated one by one for investigation.

  423. Quique a scris:

    11 Ian 10 @ 3:23 pm

    Hi Radu!
    Thanks for replying. Yes, it’s acting on pages. On categories is fine but I do not know how to remove that in the pages.
    Here is a page sample:
    http://www.viajablog.com/colabora

  424. radu.capan a scris:

    11 Ian 10 @ 3:44 pm

    While is strange the case, this can be easily solved with
    1. find in the PHP file
    if(is_single()) return;
    2. add after that
    if(is_page()) return;
    That’s all.

  425. Quique a scris:

    11 Ian 10 @ 3:52 pm

    It worked! :) You are a genious! Thank you so much!

  426. Tom a scris:

    12 Ian 10 @ 1:43 am

    I have no other plugins installed, I’ve been using the plugin for a child theme of Thematic, however I still seem to have duplicated thumbnails even if I use the default Wordpress theme.

  427. Hans a scris:

    12 Ian 10 @ 5:23 am

    I think there’s a little bug in the plugin causing 2 thumbnails to appear in on instance when I display a featured category post on my front page. I can’t seem to find it in the code, though.

    Otherwise, AWESOME plugin…does just what I want, easily.

  428. CNET.ro » Thumbnail for Excerpts – plugin for WordPress | WordPress News a scris:

    14 Ian 10 @ 5:31 am

    [...] Continue reading here: CNET.ro » Thumbnail for Excerpts – plugin for WordPress [...]

  429. Alan SOn a scris:

    14 Ian 10 @ 2:04 pm

    Can this work in the footer.php ?

  430. Xeetech a scris:

    15 Ian 10 @ 3:26 am

    From what I’ve read, this sounds excellent. I’ll test it for a new site in the next days. If it easily adds the thumbnails, serving as links to the full posts, to the excerpts on the index page, then you’re the frickin’ king. This should be the best thumbnail plugin around then, as far as I know. Main point is.. keep up the work! The blogosphere needs people like you!

  431. Ryan Gibbons a scris:

    15 Ian 10 @ 11:23 pm

    I found the duplicate thumbnail bug. It isn’t because of another plugin as the author states, but yet a problem with the function tfe_change_to_excerpts.

    The If Else statement checks for the $content then applies the filter the_excerpt which execute the fucntion tfe_put_image, then the return function is execute the same function as the filter. Hence two thumbnails.

    Not sure 100% the fix, as I am not sure what the Else statement does, but ti doesn’t seem to execute the tfe_put_image. So possible that section needs to be switch up to either execute it in the else, of don’t execute filter in the If. Just when you return the value.

  432. Hans Peterson a scris:

    17 Ian 10 @ 12:25 am

    Radu, I’ve gone through the other posts and tried the code additions you recommended for others who had the issue of 2 thumbs showing with an excerpt but they haven’t worked for me. I can solve the problem by not showing the excerpt for the featured post on the front page and instead showing the post article up to the “more tag”. This takes a lot of space on my landing page. Are there any variations to the previously mentioned fix I should try -i.e. if(is_page()) return;. Every other thumb is displaying correctly… even others on the front page. Thanks.

  433. Todd a scris:

    20 Ian 10 @ 3:35 am

    I enjoy the plugin. I use align left on the Thumbs Excerpts options page. Currently the thumbnails are aligned left of the excerpt but under the post title. I would like the thumbnails to be aligned left of BOTH the post title and excerpt on the homepage. Any suggestions?

  434. Step a scris:

    20 Ian 10 @ 11:40 pm

    I’m having the following problem: my excerpt doesn’t show up next to the thumb, but underneath it. How can I fix this?

  435. Paul a scris:

    22 Ian 10 @ 12:44 am

    Hi, Radu,
    There is something wrong when I try to activate the plug-in. The link become the text, and I have another plug-in syntaxhighlighter is also failed. It only happen in multiple posts. (I think here is the only place that plug-in load.)
    Here are two figures
    Activate http://www.badongo.com/pic/8485401
    Deactivate http://www.badongo.com/pic/8485402

    I use WP 2.9.1 and Atahualpa Theme.

    Thank you for creating this nice plug-in.

  436. videoizle a scris:

    24 Ian 10 @ 7:39 pm

    Thanks for replying. Yes, it’s acting on pages

  437. taucan62 a scris:

    26 Ian 10 @ 12:35 am

    Doesn’t work. Good idea though.

  438. Ibrahim a scris:

    28 Ian 10 @ 7:00 am

    When I edit the post to change the excerpt and the image, the changes are not reflected. Is it a plugin bug? How do I fix?

    Thanks!

  439. Maxwell a scris:

    28 Ian 10 @ 10:34 pm

    Radu, you rock dude!!
    I’ve been desperately looking for something like this for a new project I’m doing down here in East Africa.
    I’m gonna Twitter this now!
    Will donate when I top up my PayPal. I only see this particular feature in premium WordPress themes.

    Peacies!

    - Max
    http://MaxTheITpro.com

  440. lfx a scris:

    29 Ian 10 @ 7:28 pm

    Salut!

    Foarte bun plugin-ul! Thanks. Am o mica problema, totusi (nu din cauza lui): folosesc un plugin (list category posts) care afiseaza posturile dintr-o categorie, intr-o pagina. Poate sa afiseze si excerpts, dar din pacate in excerpts nu introduce si thumbnails, cu toate ca pluginul tau este activ si merge. Nu stiu ce sa-i fac…

  441. ER LEE LEE a scris:

    30 Ian 10 @ 10:18 am

    Hello,
    May i know why my thumbnail all become double??
    You can see the problem here:
    http://princess.zettai-glay.com/category/favourite/
    Where can i set it to only 1 thumbnail for each post?
    Thank you.

  442. Alfred a scris:

    30 Ian 10 @ 4:31 pm

    LOL What did you do to have a double image?

  443. Fernando Leardini dos Santos a scris:

    01 Feb 10 @ 9:11 pm

    Hello,

    I would like to suggest a function for the plugin which inserts a “read more button” after the excerpt. Also, an option for the user to insert a custom “read more button”. Do you think this possible?

    Thanks and congrats for your plugin. It’s the best!

    Thank you.

  444. Jack a scris:

    01 Feb 10 @ 10:36 pm

    Hi, i am using a theme called moviesitepress and they integrated your thumbnail manager into the theme. I adjusted the wordpress template so thumbnails would look bigger but unfortunetly all the old thumbnails have remained the same size but the new ones that are added via admin are now all larger. How do i regenerate the older thumbnails so they push to the new size. My second question is there a way to manually upload thumbnails and assign them to posts. On occasion it wont accept certain images and i would prefer to upload them manually. How do i go about doing that if possible. Im using the lastest version of wordpress.
    Thanks and long live Romania!

  445. Workflow pt 3: Exporting | groenstue.dk a scris:

    06 Feb 10 @ 11:58 am

    [...] last plugin I will promote here is the Thumbnails for Excerpts which enables me to get my photos into my rss feeds. Just the way I have solved it. If you do it [...]

  446. Kelionių Naujienos a scris:

    06 Feb 10 @ 12:12 pm

    Hi,
    I am using the very useful plugin (thanks!) with Atahualpa theme. Worked well until today when a new post got an inconsistent thumbnail: it is proportionate to my vertical original image, but not cropped like all the other post thumbnails.
    How do I address that?
    Thanks,
    Kelionių Naujienos

  447. robbie Conaway a scris:

    06 Feb 10 @ 9:34 pm

    I am also having an issue where the thumbnail shows up on my actual post pages in addition to the home page. I’m not sure I implemented the code properly stated above. Could you elaborate a bit. I’m a bit of a newbie with WP. could I eliminate it with CSS?


Exprimaţi-vă opinia