Teaser Thumbnail

Teaser ThumbnailTeaser Thumbnail is a module for Drupal, the open source content management platform. it automatically generates a thumbnail for nodes (generic term for entries in Drupal) based on the pictures inserted in or attached to their content.

Demo

  • All the pictures present in the teasers on pages such as my blog or even the projects page are generated and displayed by Teaser Thumbnail.
  • SHmag.cn: all the pictures associated with the content on the front page (as on the other main pages) are generated by Teaser Thumbnail.

Download

You can download the ZIP archive or the TAR.GZ archive

How to use it ?

  1. Download the teaserthumbnail.zip or teaserthumbnail.tar.gz archive,
  2. Unpack the teaserthumbnail folder and contents in the modules directory of your Drupal installation,
  3. Go to 'administer/modules' and enable teaserthumbnail,
  4. Visit the teaserthumbnail settings page; you must at least define the general settings for the module to work, as well as the content types that may have a thumbnail. You can define content type specific settings that will override the general settings,

Note: thumbnails are created when the node is submitted, nodes created prior the install of this module won't have a thumbnail automatically created unless they are re-submitted (clear isn't it?).

Project details

Current version
1.0
License
This software is published under the terms of the GNU Public License (GPL)

I installed on drupal 5.7 but not work;

and also which is the result that one can to have ;
have a demo or example?
thanks

This modul uses the old ImageCache's function.
I changed some line to work:

old ones starts with this:
$presets = _imagecache_get_presets();

the changed lines:
$presets = imagecache_presets();
$presets_clean = array();
foreach($presets as $preset) {
$presets_clean[$preset['presetid']] = $preset['presetname'];

Now the settings comes up, but how to show the thumb.,..?

Add the code "KarDave" submitted above to make the teaser thumbnail settings page work.

Created a image cache pre-set
Created a NEW content page with images
Set thumbnail teaser for content type's to display teaser images
BUT
Could not get it to display any teaser images.

If somebody got this to work with drupal 5.8 please let me know.

Thanks

Hi Alex,

You will find on the project page (http://drupal.org/project/teaserthumbnail) a new version of Teaser Thumbnail (http://ftp.drupal.org/files/projects/teaserthumbnail-5.x-2.0.tar.gz) that works with ImageCache 2 and add Views and RSS support.

Hope to have some feedback.

Thank you for the e-mail and support with using this module.
You are very kind.

I've found another way of doing a teaser image, but I did give Teaser Thumbnail another try. Maybe I am missing something in the steps, perhaps a little more documentation or even a video on where to enable all of the settings for this module? I can provide feedback that might help others trying to get it to work.
It is very clear that it works, from your examples above (very nice websites btw) I'm sure it's just a small step i'm missing.

I tryed the following on a fresh install of drupal 5.x:

1.) Installed the following modules:
- Image module
- image_cache module
- ImageAPI module (required by image_cache)
- Views module

2.) Enabled all Modules in "administer/modules"

3.) Added a preset named "teaser" in the "adminsiter/Sitebuilding/image cache" settings that scale/resize images to 100x100.

4.) Set the thumbnail preset "Teaser" in the "administer/Siteconfiguration/Teaser thumbnail" settings page

5.)In "administer/content type's" enabled teaser thumbnail for story's and pages.

6.) Created a view's page that displays in teaser view. (added a node title filter with the value "teaser page")

7.)In "create content" made an image named "teaser"
-Verifyed that my image_cache preset is working because it re-sized the thumbnail to 100x100!

8.) Created a page named "teaser page" so views displays it. And added images in the body using "img src" html tag.

9.) Views page displays my "teasers page" but no teaser images.

I'm pretty sure i covered all the steps i did!! I might have missed a couple, but I'm pretty confident i did everything right =P

Is there possible that using the img src to insert the image into the body is my mistake?

Thanks again!

I am editing a video and will add it to the project page to make sure people get it installed properly.

Hi, do you have the vid for enabling this module?

I want this video ))))

Any screencast?

Thanks a lot for all

Hrm... I was super-excited to find this module, as I could really use this functionality (doing it in a sloppy-manual php way now). I'm pretty sure I've followed everything correctly, but in my view I'm still getting the full-sized image - my view is working, but the images are not resized... Any ideas??
TE

I tried this - found this work after changes in my view.
BUT.
In "teser display" option I can only set "before" or "after" the teaser, so it does not look very nice - I'd like to have image on the left or right to teaser text but it's not possible. Or am I wrong?

There is a BUG in your module: If there is a space in the imagefilename, no thumbnail will be created. Maybe its simple to fix?
Is there any possibility to output errormessages from this module?

Maybe the error affects all Non-ASCII-Characters :(

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options