Thanks for your comment, I will look at the helpers. Still I wonder why the
results-array is not available in my afterFind function, I guess I'm missing
out on something here, so any help would be nice.
I put the afterFind function directly in the model and there the results
array is available to the function, so I guess i might have to make it
available in the behaviour somehow but can't find any hint in how.

Lutz

2007/10/3, dardosordi <[EMAIL PROTECTED]>:
>
>
> I prefer to upload in model (using a behaviour) and a image helper
> that resizes and caches thumbs.  There are excelents image helpers out
> there (so you can resize in view), just choose one you like.
>
> On Oct 2, 7:53 am, LW <[EMAIL PROTECTED]> wrote:
> > For some reason I can't post in the original thread, so i had to open
> > a new one, sorry.
> > (if anyone knows why, please tell me)
> >
> > I found the upload-helper and based my own on it, but i don' want to
> > do the resizing at save-time, so i tried to do it in an afterFind
> > function. I'm having trouble to with it though, it doesn't give me the
> > find results:
> >
> > function afterFind(&$results){
> >                         debug($results);exit();
> >                 }
> >
> > This doesn't work, the find-results are not there. any suggestion?
> >
> > tx,
> > Lutz
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to