Loading ...
Sorry, an error occurred while loading the content.
 

Re: imagecropper help

Expand Messages
  • Jamie
    Yes, that helped. It appeared to just need the reset. Another odd thing that I found though was that I could not give the initWidth a variable such as w
    Message 1 of 3 , Dec 4, 2008
      Yes, that helped. It appeared to just need the reset.

      Another odd thing that I found though was that I could not give the
      initWidth a variable such as w without doing w*1.

      Thanks again for you help,

      Jamie

      --- In ydn-javascript@yahoogroups.com, "Dav Glass" <davglass@...> wrote:
      >
      > Jamie --
      >
      > Try this:
      >
      > imgCrop = new YAHOO.widget.ImageCropper('cropImage');
      > imgCrop.set('initialXY', [30, 30]);
      > imgCrop.set('initWidth, '100');
      > imgCrop.reset();
      >
      > Does that help?
      > Dav
      >
      > --
      > Dav Glass
      > davglass@...
      > blog.davglass.com
      >
      >
      > + Windows: n. - The most successful computer virus, ever. +
      > + A computer without a Microsoft operating system is like a dog
      > without bricks tied to its head +
      > + A Microsoft Certified Systems Engineer is to computing what a
      > McDonalds Certified Food Specialist is to fine cuisine +
      >
      >
      > On Tue, Nov 25, 2008 at 12:50 PM, Jamie <jamierytlewski@...> wrote:
      >
      > > I am wondering if you can set the configuration after you have setup
      > > the imagecropper.
      > >
      > > The reason being is that I want the results to be changed based on a
      > > previous crop. I hope this makes sense.
      > >
      > > Here is some of my code and what I am trying to do.
      > >
      > > imgCrop = new YAHOO.widget.ImageCropper('cropImage');
      > > imgCrop.initialXY = [30, 30];
      > > imgCrop.initWidth = '100';
      > >
      > > This does not seem to work though.
      > >
      > > Thanks.
      > >
      > >
      > >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.