Ok, well there's plenty there for me to get on with. Thanks to everyone who made a suggestion. I've got my learning cut out for me today
:) On May 12, 11:14 am, chris <[email protected]> wrote: > I'm doing something quite similar in my application. > > An image can be uploaded by a user, and various different sizes are > created. The images are cropped if required to ensure the correct > aspect ratio. > > As a start, uploading and image proccessing I see as seperate, and > indeed they are 2 complete seperate parts of code in my application. > > I started with the code for this tutorial for the upload part > > http://www.jamesfairhurst.co.uk/posts/view/uploading_files_and_images... > > I put the uploadFiles in my app_controller.php so it can be used in > the different controllers that need to upload (I upload images and PDF > docs). > > Once I have the original image uploaded, I use this component to > generate the different sizes and save them on the server > > http://bakery.cakephp.org/articles/Perkster/2008/04/12/image-resizer-... > > I think both work fine as is with CakePHP 1.3, but I have made changes > as I went along with mine to improve them and add new functionality. I > think they should give you a good start though. > > On May 11, 11:19 pm, MeatSandwich <[email protected]> > wrote: > > > > > > > > > Firstly I'm totally new to cakephp and only a novice with php. I want > > to be able to upload image files which correspond with records in a > > table charities which I have. It would be good if the images were > > processed a little, ie maybe a few different sizes of thumbnail would > > be created when they got uploaded, maybe even there would be a way of > > cropping the images in case they're too large for what I want. > > > I've had a good look around for the past bunch of hours and found > > loads of tutorials and behaviours and helpers etc which purport to do > > what I want, but none which I've tried seems to work for me. I believe > > issues to do with them being written for old versions of cake. > > > Can anyone suggest what is the best way to achieve what I want? Is > > there maybe something in built in cakephp 1.3 which removes the need > > for plug-ins or behaviours? > > > thanks in advance > > > Meat -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
