This plugin is no longer necessary for most users because similar functionality has been integrated into b2evolution's core. For more information, please read: Image Sizes
The Thumbnail Plugin allows you to set a maximum image size for your blog. Every local stored image larger than this value will be automatically resized to fit this size. Creates automatically thumbnails from images bigger than a specified size. If a lightbox2 is installed it can create automattically a lightbox-link to the original image (works also without lightbox -> than it's simply a link).
|Last tested in version:|
The plugin is able to automatically create a link to the original image:
- No link to the original
- Link to open original in a new window (default)
- Link to open original in the same window
- Open a lightbox with the original
The lightbox2 is included in the plugin but can be disabled if you already have installed the Lightbox Plugin. Thumbnails can be disables for single posts. All thumbnails are cached for a better performace.
- Plugin is tested with version 2.0.2 but should work with earlier and later versions.
- GDlib must be installed.
You can find the actuall version on SourceForge
It would be nice if you help to make the thumbnail plugin better. There are different ways you can help:
- Copy the thumbnail_plugin to the plugin folder of your b2evolution installation
- Login to the administative interface
- Install the thumbnail plugin
- Open the plugins properties and change the settings to the values you like
- If you have installed previous versions, you have to empty the items__prerendering-table. Use phpmyadmin or shell to truncate this table
Simply add images to your post like you are used to. You don't have to add special tags or attributs. The plugin runs as renderer and searches for every img-tag in your post. If the images found are larger than the maximum value defined in the plugins settings (and the image is stored on your webserver) the image will be resized.
The plugin will create a folder called <i>thumb_plugin</i> in the same folder where your original image is and creates the thumbnail in this directory. If you use mutliple folders you will get multiple
thumb_plugin-folders. This is to make shure the plugin has no problems with images which use the same name.
I hope this helps you with some problems ;)
Lost your thumbnails/deleted you cache?
If you have deleted your thumbcache and all thumbnails don't appear again you must simply delete the prerenderings. Simply
in phpmyadmin or in shell (evo_items__prerendering is default name and don't forget to make a backup). Now all posts should be renderd again and the thumbnails should be created again ;)
Copyright (C) 2007 Thomas Heger
Comment from: Son Visitor
Dont it work with 2.1.0?
Comment from: John Visitor
Yes, it should work with v2.1.0
Just didn’t test it with 2.1.0… should run with every version ;)
Comment from: remo Visitor
did not work with 2.2 version.. it opens a separate page for the picture when I added to the blog.
Comment from: Scribbly Visitor
I’ve had troubles getting this to work on 2.4 on an IIS Windows box, which doesn’t support:
'defaultvalue' => $_SERVER['DOCUMENT_ROOT']
So I hard coded it, and at least I wasn’t getting errors; but thumbnails were not being produced and the lightbox functionality was flaky.
Shame, I was keen :-(
Comment from: matt Visitor
I have come across odd behavior in one (only) of my photos. The colors in the thumbnail get screwed up; in the full image they are fine. I save images in sRGB format.
This behavior can be seen in my blog post dated 4/13/08 (warning: nudes)
Sorry it took so long, but I never looked here again - lack of time.
Have you set “same window” in plugins settings?
Sorry, can’t help you with this problem - I can’t test on a IIS Windows Box, but it works on Windows XP.
The Plugin uses the php function “imagecreatetruecolor", I have no idea how it can effect the image color (strange, the thumbnail seem to have “realistic” colors, the original image looks much more grey). Have you deleted the thumbnail from the cache? Is it created in this color again?
Please use the bugtracker on sourceforge or the Contact-Form on my blog for further questions.
Development is stopped forever! I don’t care about b2 anymore!
Comment from: NMcCoy Visitor
Yikes, that was a bit harsh.
Comment from: Scribbly Visitor
a bit harsh and a huge shame!
Waiting nearly two month for support, getting only stupid questions and nearly every feature I want to use is not available and has to be created by myself (even a useable thumbnail-function *eek*) - why should I care about b2 when Wordpress works?
Comment from: Jose Visitor
I think I share similar sentiments… b2evo has seen a lot of changes, but simple things like thumbnail creation is not incorporated… To be quite frank, fckeditor with its image manager would have been sufficient but b2evo devs decided to implement a file manager… seriously lack proper direction
Comment from: _dp Visitor
i reworked the code a bit, it seems, that some older php engine misinterpreted a few lines.
For me the plugin works fine @php5 (with generating thumbs, didnt test the gallery function yet)
you may send me a mail if i should help you with a quickfix.
if you are the author and still interested in your mod, send me a mail and i explain you how to fix this.
Comment from: _dp Visitor
Since this comment system doesnt want to display the mail, here is my anon-mail account: email@example.com
Comment from: english essay Visitor
didn’t work with 2.23 version