There is a nice upload behavior in the bakery if you take the time to search I think
On 10/1/07, Dr. Tarique Sani <[EMAIL PROTECTED]> wrote: > > On 10/2/07, LW <[EMAIL PROTECTED]> wrote: > > need to change sizes for layout reasons. But somehow it seems to me > > that the model would be more appropriate. > > Use Behaviors - one for uploading and one for resizing > > > > Second question - Image serving: I could save the processed Images in > > the webroot/img folder and in my views access them through a direct > > link or I could read them and output them as raw data through a > > template, providing the correct header information etc. What are the > > pros and cons of either solution? > > put them in webroot unless you want to do ACL stuff on the images > > HTH > > Tarique > > -- > ============================================================= > Cheesecake-Photoblog: http://cheesecake-photoblog.org > PHP for E-Biz: http://sanisoft.com > ============================================================= > > > > -- (the old fart) the advice is free, the lack of crankiness will cost you - its a fine line between a real question and an idiot http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
