You should try my uploader plugin, it wont cause any errors. http://www.milesj.me/resources/script/uploader-plugin
On Jul 16, 10:50 am, "Dave Maharaj :: WidePixels.com" <d...@widepixels.com> wrote: > I tried the Bakery one over and over and finally got it working....then > after a few uploads of testing I get 500 Internal Server Error...but who > knows. > > Figured I would try it on my own and to my surprise it works perfect and > with very little code. > > Dave > > -----Original Message----- > From: brian [mailto:bally.z...@gmail.com] > Sent: July-16-09 3:15 PM > To: cake-php@googlegroups.com > Subject: Re: CakePHP and Jcrop > > Yeah, that component at the Bakery seemed a bit dubious. > > On Thu, Jul 16, 2009 at 1:04 PM, Dave Maharaj :: > WidePixels.com<d...@widepixels.com> wrote: > > > I just figured it out.... > > > Was missing the save the new image function. > > Added; > > imagejpeg($dst_r, $output_filename, $jpeg_quality); in the editimage > > function and presto.... > > > Much easier than the Bakery component > > > Thanks > > > Dave > > > -----Original Message----- > > From: brian [mailto:bally.z...@gmail.com] > > Sent: July-16-09 2:27 PM > > To: cake-php@googlegroups.com > > Subject: Re: CakePHP and Jcrop > > > Does the controller receive the values? What are you using to do the > > actual cropping? Is the webserver allowed to write to the directory? > > Are you seeing errors in the log? > > > On Thu, Jul 16, 2009 at 12:30 PM, Dave Maharaj :: > > WidePixels.com<d...@widepixels.com> wrote: > >> Has anyone implemented JCrop into a cake application? > > >> ***not interested in the jQuery Crop and Upload as in the Bakery *** > > >> So far I have upload images function which creates 1 size for the > >> gallery and a thumbnail. > > >> Added editimage function which loads the fullsize image and the jCrop > >> interface to select the part of the large image you would like to use > >> for the thumb.... > > >> Built the form and pass the x,y, w, h back to the controller but cant > >> seem to get the new thumb to save. > > >> I have img/gallery > >> /thumb/< where i want to savethe cropped > >> thumb to > >> /lrg/ <= holds the master image to sample > >> from > > >> Can someone who has used jCrop please help me out with the final step? > > >> Thanks, > > >> Dave --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---