Looks good. Will give it a try later tonight.
Thanks, Dave -----Original Message----- From: Miles J [mailto:[email protected]] Sent: July-16-09 6:28 PM To: CakePHP Subject: Re: CakePHP and Jcrop 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" <[email protected]> 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:[email protected]] > Sent: July-16-09 3:15 PM > To: [email protected] > 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<[email protected]> 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:[email protected]] > > Sent: July-16-09 2:27 PM > > To: [email protected] > > 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<[email protected]> 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 [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 -~----------~----~----~----~------~----~------~--~---
