By using phpThumb you could simplify your application logic and abstract 
image size to the views.

olivvv

TWIOF wrote:
> HI Everyone,
>
> I've been making an images system for my site. There are various types
> of image (e.g. thumb nails and illustrations). As far as the models go
> an article might use hasOne for the thumb nails and hasMany for
> illustrations.
>
> BUT, i'm using one db table for all images (there won't be that many
> over all) - so can i have a hasOne and add a condition to only pick
> thumbs, and a hasMany with a condition only to pick illustrations. I
> know I should probably separate them into different tables, but would
> it be that bad?
>
> Cheers
>
> TWIOF
>
>
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
 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