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