We’ve just created a new widget, one that displays recent posts from a selected category, with TimThumb-resized images extracted from the Media Library.
Here are a couple of screenshots:
Download it via the official WordPress plugins repository.
Thanks for the prompt reply. I checked documentation and I found out that it supports png, jpg and gif. Unfortunately I’m getting this error: PHP Warning: imagecreatefrompng() [function.imagecreatefrompng]: '/home/androbo1/public_html//android/wp-content/uploads/2010/02/011.png' is not a valid PNG file in /home/androbo1/public_html/android/wp-content/plugins/tim-widget/scripts/timthumb.php on line 297
which results in not showing only pngs on my website. Any ideas what might be causing it?
Thanks for your reply. I’ll try to use it with a different version of timthumb, see if it’ll work. Again, great work on your plugins! Keep up the good work!
Thanks!
Right now there’s no way to do it. And the plugin is no longer in development, we just used it for a client and thought we might as well release it to the public domain. A simple workaround would be adding a category that contains all the posts.
I don’t really know what the problem might be. We used it for a project and it worked properly. So we also released it to the public domain, and others seem to have used it successfully.
Try looking into the database and see if the options get updated…
This is really great. It’s almost exactly what I’ve been looking for. One thing though. I am trying to figure out how to, once this widget is in place, exclude that category from the main area so as to avoid redundancy. It doesn’t do any good for me to have the same post in grand scale and then in smaller scale just off to the side. Any thoughts?
I’ve tried combining this with a few other plugins which can exclude certain categories from the front page, but they aren’t compatible, and mostly turn off your widgets functions instead.
Oh but what a world it would be if I had any understanding of how to modify the code (I am still, slowly, understanding this).
Meanwhile, now I’ve found that this widget is pretty perfect for a new site I’m developing for my company.
The only problem: When I have the excerpt set to ‘0′ it ends up showing all the text of the post. If I set it to, say, 1, then it just shows the 1 word. I’d really like to have no text at all under the thumbnail if possible.
Meanwhile. I was able to look into the plugin’s code and just delete the excerpt display manually. It’s not idea, because now there is no opportunity to show any excerpt, which might come into play if I wanted to use this widget in another instance, but it’s a pretty good, easy fix for now.
We haven’t thought about the option of removing the excerpt completely, and if we were to release a new version, we’d probably include this option, but since the new WordPress thumbnail feature (in 2.9), TimThumb is no longer really necessary, so developing plugins that use it doesn’t make much sense…
The widget is nice, but i don’t see a thumb in the widget.
When i look at the source code i don’t see a source at the image tag.
I don’t know why, can someone help?
24 Comments
hi, can you add support for png images? great plugin btw!
Hey, jacob. It already supports PNG images, because TimThumb does as well. I just tested it here.
Thanks for the prompt reply. I checked documentation and I found out that it supports png, jpg and gif. Unfortunately I’m getting this error:
PHP Warning: imagecreatefrompng() [function.imagecreatefrompng]: '/home/androbo1/public_html//android/wp-content/uploads/2010/02/011.png' is not a valid PNG file in /home/androbo1/public_html/android/wp-content/plugins/tim-widget/scripts/timthumb.php on line 297which results in not showing only pngs on my website. Any ideas what might be causing it?
I have no idea. It looks to me like a TimThumb problem…
Thanks for your reply. I’ll try to use it with a different version of timthumb, see if it’ll work. Again, great work on your plugins! Keep up the good work!
Nice plugin!
Is there any way to make it display all posts regardless of category?
Thanks!
Thanks!
Right now there’s no way to do it. And the plugin is no longer in development, we just used it for a client and thought we might as well release it to the public domain. A simple workaround would be adding a category that contains all the posts.
Cheers!
Thanks Gabriel!
Hi! thanks for plugin.
But how can i use it in the template?
It’s a widget. Simply place it inside a widget area…
When I try to modify the size and excerpt length nothing changes.
I don’t really know what the problem might be. We used it for a project and it worked properly. So we also released it to the public domain, and others seem to have used it successfully.
Try looking into the database and see if the options get updated…
This is really great. It’s almost exactly what I’ve been looking for. One thing though. I am trying to figure out how to, once this widget is in place, exclude that category from the main area so as to avoid redundancy. It doesn’t do any good for me to have the same post in grand scale and then in smaller scale just off to the side. Any thoughts?
I’ve tried combining this with a few other plugins which can exclude certain categories from the front page, but they aren’t compatible, and mostly turn off your widgets functions instead.
Thanks.
Just add to your WP_Query “cat=” followed by a negative sign and whatever category id you want to exclude like this:
new WP_Query(“showposts=10&cat=-22,-12,-6″)
Oh but what a world it would be if I had any understanding of how to modify the code (I am still, slowly, understanding this).
Meanwhile, now I’ve found that this widget is pretty perfect for a new site I’m developing for my company.
The only problem: When I have the excerpt set to ‘0′ it ends up showing all the text of the post. If I set it to, say, 1, then it just shows the 1 word. I’d really like to have no text at all under the thumbnail if possible.
Meanwhile. I was able to look into the plugin’s code and just delete the excerpt display manually. It’s not idea, because now there is no opportunity to show any excerpt, which might come into play if I wanted to use this widget in another instance, but it’s a pretty good, easy fix for now.
Well, I’m glad it finally worked out for you
We haven’t thought about the option of removing the excerpt completely, and if we were to release a new version, we’d probably include this option, but since the new WordPress thumbnail feature (in 2.9), TimThumb is no longer really necessary, so developing plugins that use it doesn’t make much sense…
Cheers!
Gabriel, enjoying the plugin! Just one thing maybe you can help me with….
How can I make the thumbnail a button link as well as the title text?
Hey George!
You need to edit the tim-widget.php file.
Just look for the line where it says
and change it to
Hello,
The widget is nice, but i don’t see a thumb in the widget.
When i look at the source code i don’t see a source at the image tag.
I don’t know why, can someone help?
Thanks
I’ve no idea. Taking a look at the code might help. The image is added in
tim-widget.php, line 58.Hello, greetings from Colombia.
I like the plugin, but if I put it in the outside column index which is the script called?
Thank you very much.
Hi, this plugin is nice, but, if no want use how widget, only want the function and add in my theme, how do it’s ?, any idea ?
Have a look at this WordPress function:
http://codex.wordpress.org/Function_Reference/the_widget