Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
一休
@yixiu2017
Member
NO. 32254 / 2017-07-13

[email protected]
1 Topics / 5 Replies
0 Followers
1 Following
0 Favorites
No GitHub.
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • [已解决] 图片在网页后台能通过 carrierwave-aliyun 上传到阿里云 OSS,却无法在网页前台显示 at July 14, 2017

    问题解决了,谢谢大家。 views 设置要微调 <% if introduction.image.present? %> 改 为 <% if introduction.image.url.present? %>

  • [已解决] 图片在网页后台能通过 carrierwave-aliyun 上传到阿里云 OSS,却无法在网页前台显示 at July 14, 2017

    http://yixiu2017.oss-cn-shenzhen.aliyuncs.com/uploads/introduction/image/14/logo2.png http://yixiu2017.oss-cn-shenzhen.aliyuncs.com/uploads/introduction/image/14/small_logo2.png 这两个是通过我的网站后台上传到阿里云后,oss 给出的图片地址。 我的网站前台没能找图片地址,返回的是 no pic。谢谢 移除 no pic 会报错:“nil is not a valid asset source”

  • [已解决] 图片在网页后台能通过 carrierwave-aliyun 上传到阿里云 OSS,却无法在网页前台显示 at July 14, 2017

    英文也试过了,不行。谢谢

  • [已解决] 图片在网页后台能通过 carrierwave-aliyun 上传到阿里云 OSS,却无法在网页前台显示 at July 14, 2017

    我是设为公共读的,谢谢

关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English