如何在Rails中处理Image缩放或者切割(Crop)?

10 views
Skip to first unread message

Andy

unread,
Sep 13, 2011, 2:24:03 AM9/13/11
to Rails Wednesday
谁做过类似的功能?介绍点经验或者工具,谢谢!

Raecoo Cao

unread,
Sep 13, 2011, 2:26:51 AM9/13/11
to Andy, Rails Wednesday


Regards

~
Raecoo Cao

On Tuesday, September 13, 2011 at 2:24 PM, Andy wrote:

谁做过类似的功能?介绍点经验或者工具,谢谢!

--
--
微群:http://q.weibo.com/793783
--
You received this message because you are subscribed to the Google
Groups "Rails Wednesday" group.
To post to this group, send email to rail...@googlegroups.com
To unsubscribe from this group, send email to
railswed+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/railswed?hl=en?hl=en

Andy

unread,
Sep 13, 2011, 2:30:00 AM9/13/11
to Rails Wednesday
looks cool! Thanks @raecoo

On Sep 13, 2:26 pm, Raecoo Cao <rae...@gmail.com> wrote:
> http://code.google.com/p/jcrop/
>
> Regards
>
> ~
> Raecoo Cao
>
>
>
>
>
>
>
> On Tuesday, September 13, 2011 at 2:24 PM, Andy wrote:
> > 谁做过类似的功能?介绍点经验或者工具,谢谢!
>
> > --
> > --
> > 微群:http://q.weibo.com/793783
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Rails Wednesday" group.
> > To post to this group, send email to rail...@googlegroups.com (mailto:rail...@googlegroups.com)
> > To unsubscribe from this group, send email to
> > railswed+u...@googlegroups.com (mailto:railswed+u...@googlegroups.com)

Suave Su

unread,
Sep 13, 2011, 3:18:26 AM9/13/11
to Raecoo Cao, Andy, Rails Wednesday
我也用的 jcrop,不是在 rails 中用的,不知道 rails 上是否有人写过plugin让调用更方便

原理就是,JS传坐标给后端,后端根据坐标用图片库来裁切


---
苏锐 Suave
- 多背一公斤 http://1KG.org
- http://surui.net
- 138 1026 9916



2011/9/13 Raecoo Cao <rae...@gmail.com>
Reply all
Reply to author
Forward
0 new messages