cloudinary

How to get the cloudinary widget image info on upload?

纵然是瞬间 提交于 2020-06-17 04:24:52
问题 I'm using the cloudinary widget to upload images on my websites. Now I'd like to get the info from an image when it's being uploaded e.g. the path of that image. I can see that this information is available in the console log when uploading the image e.g. {path: "v1586568667/myusername/lp62llmn8sa7r5vqjovd.jpg"} I believe I have to use ajax to get this information, but I'm struggling to find some examples, if someone could point me to the right direction. 回答1: Thanks everyone for your

Cloudinary - Iframe close button + sources bar is hidden because Iframe content is too high

会有一股神秘感。 提交于 2020-04-30 06:33:30
问题 As you can see from the image, the iframe content is too big and it hides the X button + Sources bar. Is there any option to make it's content a bit smaller? This css seems to be the problem: @@media only screen and (min-width: 767px) { #uw-glamor-396 .css-5anb0a, #uw-glamor-396 [data-css-5anb0a] { position: absolute; top: 50%; left: 50%; width: 767px; height: 610px; transform: translate(-50%, -50%); border-radius: 5px; } } If the height would be 450px instead of 610px it would fix the issue.

Cloudinary - Iframe close button + sources bar is hidden because Iframe content is too high

ⅰ亾dé卋堺 提交于 2020-04-30 06:33:24
问题 As you can see from the image, the iframe content is too big and it hides the X button + Sources bar. Is there any option to make it's content a bit smaller? This css seems to be the problem: @@media only screen and (min-width: 767px) { #uw-glamor-396 .css-5anb0a, #uw-glamor-396 [data-css-5anb0a] { position: absolute; top: 50%; left: 50%; width: 767px; height: 610px; transform: translate(-50%, -50%); border-radius: 5px; } } If the height would be 450px instead of 610px it would fix the issue.

Cloudinary - Iframe close button + sources bar is hidden because Iframe content is too high

雨燕双飞 提交于 2020-04-30 06:33:05
问题 As you can see from the image, the iframe content is too big and it hides the X button + Sources bar. Is there any option to make it's content a bit smaller? This css seems to be the problem: @@media only screen and (min-width: 767px) { #uw-glamor-396 .css-5anb0a, #uw-glamor-396 [data-css-5anb0a] { position: absolute; top: 50%; left: 50%; width: 767px; height: 610px; transform: translate(-50%, -50%); border-radius: 5px; } } If the height would be 450px instead of 610px it would fix the issue.

Using Cloudinary with spatie/media-library Laravel package

a 夏天 提交于 2020-03-22 07:44:49
问题 Is anyone using Laravel package spatie/media-library with Cloudinary? I thought implementing it would be trivial with flysystem. I'm actually using Cloudinary as a Nova field with silvanite/nova-field-cloudinary and it works great but I have a need for the media-libaray which doesn't support it out of the box. So, what I did: - add cloudinary disk: 'cloudinary' => [ 'driver' => 'cloudinary', 'api_key' => env('CLOUDINARY_API_KEY'), 'api_secret' => env('CLOUDINARY_API_SECRET'), 'cloud_name' =>

How to upload JavaScript File object to Cloudinary using node js api?

余生长醉 提交于 2020-02-04 04:41:22
问题 I need to upload a file to image server and i choose to go with cloudinary from my node js api. i installed the npm package for cloudinary and used the code as per their api documentation here is my function which is making a http request call to upload image. var cloudinary = require('cloudinary').v2; function uploadProfilePic(req, res, next) { let file = (req && req.files.file) ? req.files.file : ''; // File object cloudinary.uploader.upload(file, function (error, result) { if (!error &&

Need to implement #cache! if you want to use Cloudinary::CarrierWave::Storage as a cache storage

旧巷老猫 提交于 2020-01-30 05:01:09
问题 I am getting this error when trying to upload a picture "Need to implement #cache! if you want to use Cloudinary::CarrierWave::Storage as a cache storage." It highlights this part of code in my controller: def update @company.update(company_params) redirect_to company_path(@company) end I am using Carrierwave to upload photo to cloudinary. I have a cloudinary.yml file with my configuration as well as a cloudinary.rb in my initializers. identitylogo_uploader.rb class IdentitylogoUploader <

Installing non-bower-ready library with Bower

做~自己de王妃 提交于 2020-01-16 07:31:11
问题 I am using Bower (http://bower.io/) to manage my app's third-party libraries and now I want to use a library which doesn't have a registered bower package, namely jquery.cloudinary.js from Cloudinary (http://cloudinary.com). I would really love to include cloudinary amongst my bower-managed libraries because it really helps cloning my development environment when I need to. Is it possible to install any library available in the internet with Bower by just editing my bower.json file? If so,

How to Implement Cloudinary Upload Widget in React?

…衆ロ難τιáo~ 提交于 2020-01-14 14:13:22
问题 I'm trying to use the Cloudinary Upload Widget in my React App but i have a problem. When running the project, the Upload Widget appears immediately, but when closed and opened again, the app crashes and displays the following message: widget.open() is not a function Note: The upload works correctly import React, { Component } from 'react'; import './App.css'; class App extends Component { showWidget = (widget) => { widget.open(); } checkUploadResult = (resultEvent) => { if(resultEvent.event

How to Implement Cloudinary Upload Widget in React?

孤街浪徒 提交于 2020-01-14 14:09:32
问题 I'm trying to use the Cloudinary Upload Widget in my React App but i have a problem. When running the project, the Upload Widget appears immediately, but when closed and opened again, the app crashes and displays the following message: widget.open() is not a function Note: The upload works correctly import React, { Component } from 'react'; import './App.css'; class App extends Component { showWidget = (widget) => { widget.open(); } checkUploadResult = (resultEvent) => { if(resultEvent.event