将 Base64 图像与 Carrierwave 结合使用
我想执行与 base64 photo and paperclip -Rails 类似的操作,但是使用载波。 有人可以解释我在 Carrierwave 中使用 Base64 图像吗?
I want to perform the similar thing as from base64 photo and paperclip -Rails, but with Carrierwave.
Could anybody explain me using of base64 images in Carrierwave?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
接受的答案对我不起作用(v0.9)。
这似乎是在缓存回调之前失败的检查。
此实现有效:
The accepted answer did not worked for me (v0.9).
It seems to be a check that fails before the cache callback.
This implementation works: