简体   繁体   English

Cloudinary Elixir Phoenix集成

[英]Cloudinary Elixir Phoenix integration

Has anyone of you discovered/written a way to use cloudinary with Elixir? 你们中是否有人发现/编写了在Elixir中使用cloudinary的方法? All of their integrations i saw were based on Cloudinary's plugin. 我看到的所有集成都是基于Cloudinary的插件的。 But i haven't saw a plugin for neither elixir or erlang. 但是我还没有看到既不适合elixir也不适合erlang的插件。

Is there a way to easily fabricate their method of sending requests? 有没有一种方法可以轻松地构造其发送请求的方法?

Get a look at this. 看看这个。

https://github.com/sschneider1207/ExCloudinary https://github.com/sschneider1207/ExCloudinary

Very simple library, easy to incorporate to your project. 非常简单的库,易于合并到您的项目中。 When you want to upload image call ExCloudinary.uploadImage(image.path) where image is your Phoenix's multipart. 当您要上传图像时,请调用ExCloudinary.uploadImage(image.path),其中image是Phoenix的一部分。

for anybody looking for something a bit more recent. 对于任何寻找新近事物的人。 It seems the most popular option is this one https://github.com/smeevil/cloudex 似乎最流行的选择是这个https://github.com/smeevil/cloudex

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM