Yii Framework Forum: Image upload for preview and jcrop - Yii Framework Forum

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Image upload for preview and jcrop Rate Topic: ***** 2 Votes

#21 User is offline   bennouna 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,165
  • Joined: 05-January 12
  • Location:Morocco

Posted 25 October 2012 - 08:20 AM

See if this helps
https://github.com/v...ader/issues/342
0

#22 User is offline   matthew3 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 6
  • Joined: 14-June 12

Posted 29 October 2012 - 05:48 AM

View PostGirish, on 03 March 2012 - 12:50 PM, said:

I tried this code. I can upload image but cannot crop. :(


I also.

I get the following errors: Uncaught TypeError: Object [object Object] has no method 'dialog'
0

#23 User is offline   abhilashrajr 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 12
  • Joined: 11-March 13
  • Location:India

Posted 20 March 2013 - 05:24 AM

View PostEvandroSwk, on 29 December 2011 - 01:39 PM, said:

the function beforeSave() shouldn't be in model?


Is it possible, the image can be save into database?
0

#24 User is offline   shobana_chandrasekar 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 51
  • Joined: 06-September 13
  • Location:Bangalore

Posted 28 October 2013 - 09:43 AM

View Postdfu, on 05 January 2012 - 06:18 AM, said:

Uh forget that. Its better to get dim when cropping and not from the controller.

Thank you again


Hello,

If u don't mind plz share ur full code upload image for preview and jcrop option..
0

Share this topic:


  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users