-
as talked in https://github.com/happypeter/onestep/issues/81
I do want to use gravatar, but it's slow, very slow in China.
But I will have same size images like github and go gravatar compatible.
-
https://github.com/happypeter/onestep/issues/152#issuecomment-16102982
-
是程序出错了吗?
我在修改成 member方式的时候:
http://127.0.0.1:3000/members
下面出错,
因此我访问,http://hpcasts.com/users 进行测试
结果也报错!
-
-
http://railscasts.com/episodes/253-carrierwave-file-uploads
-
### 代码状态
5387079b46e41c621a29c66f7c8d85d9cf26a96a
### 完成功能
1. 课表的 ajax 去掉了
2. 博客 #40
3. 图片上传到 upyun.com #41
### 测试
1. 写博客: http://www.hpcasts.com/write_blog
2. 发图: http://www.hpcasts.com/upyun_image…
-
-
### 代码状态
7412dca99203194ac3f8a291b962a9ea9c5bda37
### 实现功能
1. 很牛的博客 #40
1. 可以上传图片,并且图片宽度可以调整到适当
### 测试
1. 帐户
```
ID: admin
PW: 111111
```
然后到 http://www.hpcasts.com/write_blog 就可…
-
carrierwave-upyun 0.1.5
当需要重新生成各个 version 的图片时,会用到 recreate_versions! 方法,比如这样
``` ruby
u = User.last
u.avatar.recreate_versions!
```
但会出现 404 错误
-
一个帐号时直接在`config/initializers/carrierwave.rb` 里配置即可
```
CarrierWave.configure do |config|
config.storage = :upyun
config.upyun_username = ENV['UPYUN_USERNAME']
config.upyun_password = ENV['UPYUN…