When i insert new node - no thumbs saves to db.
I find out that trouble was in fuction teaserthumbnail_nodeapi.
When i insert a node in 'submit' operation i DONT now the nid of new node, so its thumb saves with nid=0.

To solve this problem you only have to replace this code
case 'submit'
with this one

case 'insert':
case 'update':

its work fine!

P.S. This module is very cool. Make it greater!

Comments

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

kardave’s picture

Version: 5.x-1.0 » 5.x-2.0
Assigned: Eugene Fidelin » Unassigned
Status: Closed (fixed) » Active

I spent hours on this problem, both version suffers from it.
As a developer of a newspaper site i can say usability is up to little things. Posting a node twice just to have teaser thumbnail is a huge one of theese littles.
Btw I really like this module, thanks for sharing.
David

hunvreus’s picture

Status: Active » Fixed

I am... stupid! Sorry for that guys. This is fixed along with a couple updates in the latest versions of the module (6.x-1.1 & 5.x-2.1) that should be available shortly (as soon as the packaging scripts run again).

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

kansaj’s picture

Version: 5.x-2.0 » 5.x-2.3

Hi
The module is relay nice, but I still could not get it to save in the DB, which leads to inability to use it with views.
I tried the solution by Eugf, but still does not work.

Tnx

wildfeed’s picture

This fix has not yet been added to 5.x-2.4