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
Comment #1
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #2
kardave commentedI 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
Comment #3
hunvreus commentedI 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).
Comment #5
kansaj commentedHi
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
Comment #6
wildfeed commentedThis fix has not yet been added to 5.x-2.4