Questions tagged [imagekit]

102 questions
0
votes
1 answer

await only valid in async function meanwhile i already put "async" in the function

It says that await only valid for async function but i already put the async word before the (req,res,next) , did i code it wrong? const axios = require("axios"); const FormData = require("form-data"); const imageKit = async (req, res, next) => { if…
0
votes
1 answer

Imagekit not returing transformed url

I have the following code in my app to upload image to imagekit. And i'm using this official package function uploadImage ($base64Img, $fileName, $folder, $h, $w, $aratio){ $imageKit = new ImageKit( "public_key, …
psudo
  • 1,341
  • 3
  • 24
  • 69
0
votes
1 answer

Is there an AWS solution that is similiar to IMGix or ImageKit

I am looking for a solution to resize, optimize, and use webp format for images on my site. I am already using AWS and was wondering if I needed to use IMGix or ImageKit to accomplish this or if I could use AWS. Thank you in advance for looking at…
0
votes
2 answers

How to upload multiple images on imageKit from nodeJs app?

I'm trying to the images submitted through HTML form and then upload those in the imagekit through node app. I'm completely lost with the configuration. Any help would be greatly appreciated. const app = express(); const multer =…
0
votes
0 answers

VueJS and Image CDNs: How to check when image is done being optimized through the Image CDN?

I might be over thinking this, but I got a an avatarprofile component that lets a user update their avatar image. I am using Google Cloud storage as the image hosting and then I am using an image CDN (imagekit) to handle the image…
redshift
  • 4,815
  • 13
  • 75
  • 138
0
votes
2 answers

Imagekit SDK and NuxtJS: How to import SDK correctly?

I am using the Imagekit VueJS SDK and have created a plugin file for it: vueimagekit.js in /plugins folder. import ImageKit from "imagekitio-vue" Vue.use(ImageKit, { urlEndpoint: "your_url_endpoint", // Required. Default URL-endpoint is…
redshift
  • 4,815
  • 13
  • 75
  • 138
0
votes
1 answer

Imagekit as a foreignkey - adding an image in admin

This relates to adding information in a Foreignkey field in the main admin screen. I have a Staff model. I need mugshots in 3 formats. I'd like to use django-imagekit for processing. I've made a Photo model to store the mugshot, and added it as a…
Richard
  • 1,257
  • 1
  • 10
  • 15
0
votes
1 answer

Best way to handle various sizes of images in ImageKit

I'm using ImageKit to store images for my portfolio (more specifically, I'm using their Vue SDK. Typically my images are horizontal/landscape, however I just added a few that are vertical orientation. What I'd like to do is force crop the vertical…
J. Jackson
  • 3,326
  • 8
  • 34
  • 74
0
votes
1 answer

How To Add A Folder Of Images To IKImageBrowserView

How do I add a folder of images to be displayed in an IKImageBrowserView? Thanks
foobar5512
  • 2,470
  • 5
  • 36
  • 52
0
votes
1 answer

django / ImageKit - showing absolute path to images

I'm using the ImageKit and for some reason it's displaying the absolute path to images. Any idea how to make it to display the path I have set in the MEDIA_URL ?
avatar
  • 12,087
  • 17
  • 66
  • 82
0
votes
1 answer

IKImageBrowserView "--ImageKit Error: reloadData called in non main thread"

I am writing a Cocoa Mac app which uses an IKImageBrowserView. When I call the following: [imageBrowserView reloadData]; The Debugger Console prints this: --ImageKit Error: reloadData called in non main thread I have tried placing the reloadData…
James Beith
  • 5,751
  • 3
  • 27
  • 21
0
votes
1 answer

Cocoa saving with ImageKit without NSSavePanel

So is there a way to save an edited image without presenting the user the NSSavePanel? That is, many applications offer the user the option to either "Save" or "Save As..." where "Save" just overwrites the file keeping the filename and "Save…
julian
  • 157
  • 1
  • 12
0
votes
1 answer

Why can't my subclass of IKImageBrowserView->NSView->NSResponder be made first responder?

I have this line calling -makeFirstResponder: [self.window makeFirstResponder:libraryViewController.imageBrowser]; imageBrowser is of type CaptureBrowserView, a subclass of IKImageBrowserView, which is a subclass of NSView which is a subclass of…
A O
  • 5,516
  • 3
  • 33
  • 68
0
votes
1 answer

Django saving from one imagefield to another: OSError: [Errno 24] Too many open files

I've written a migration that adds a subclass of an ImageField to an existing model. As part of that migration I would like to save to that imagefield the contents of another imagefield. Here is the migration: from __future__ import…
Isaac
  • 1,371
  • 3
  • 14
  • 36
0
votes
0 answers

error creating image from html using imagekit and wkhtmltoimage on centos server in rails 4

I am using imagekit and wkhtmltoimage to convert html to image. On my local server I am using ubuntu 14.10 and its working fine. But the live server is centos 6 and when I move the code to live server it is showing following libjpeg error: error…