I just installed this module. When I go to admin/settings/teaserthumbnail, I get a white screen. My error log has this message:
[18-Aug-2008 12:08:42] PHP Fatal error: Call to undefined function _imagecache_get_presets() in /home/rivulcom/public_html/sites/all/modules/teaserthumbnail/teaserthumbnail.module on line 22

Can you help?

Comments

johnhorning’s picture

I would like to add that I am using Imagecache 5.x-2.1. Perhaps I need a different version.

panji’s picture

yup I've got the same problem here... even in a fresh installation......

kardave’s picture

The white error page flapped me too. Dig in the code I found some patching.

This modul now uses the old ImageCache's function.

I changed some line to work with the new:

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 can i show the thumbs???
BTW this module also available at the developers own blog

kardave’s picture

Status: Active » Closed (duplicate)
hunvreus’s picture

Status: Closed (duplicate) » Closed (fixed)