Questions tagged [imagekit]

102 questions
1
vote
1 answer

Django imagekit and dynamic paths

I'm using imagekit provided at: imagekit So, I've defined two class model: class Photo(models.Model): #photo_wrapper = models.ForeignKey(PhotoWrapper, blank=True, null=True) original_image = models.ImageField(upload_to='static/photos') …
M-S
  • 617
  • 7
  • 19
1
vote
1 answer

Upload Image to imagekit using Golang (Gin)

I trying to make simple server that able to upload image and return the url of image with go. here is my code package controlers import ( "context" "net/http" "os" "github.com/codedius/imagekit-go" …
Dark Star
  • 15
  • 4
1
vote
0 answers

How to set different assetPrefix for images and js files in nextjs

I am using ImageKit to serve all images/videos files in my nextjs application and Imagekit is pointing to a CDN bucket where I am pushing all the assets during the build. All the images are imported into specific components. My nextjs config looks…
sahil solanki
  • 507
  • 6
  • 20
1
vote
1 answer

Randomise image order from Firebase storage

i'm have a webapp with images on one of the pages. Storage i use Firebase and to optimise, i use Imagekit. Code is React and Javascript. I noticed that when i use Firebase Storage function listAll() to render all images, everytime i refresh, the…
Coolkid
  • 407
  • 1
  • 4
  • 13
1
vote
1 answer

Imagekit - Golang | How to use Context

Im trying to upload images from my Golang backend to imagekit via the imagekit sdk. Im facing problems with understanding what the context api is used for. Currently I don't really use context in my backend and pass all dependencies in the…
pirmin_b
  • 27
  • 8
1
vote
2 answers

Selecting iPhoto images within a cocoa application

I was wondering what the best way of selecting photos from iPhoto within a cocoa application? Right now, the open file dialogue doesn't allow me to go into the iPhoto library. How can I allow the user to go into that folder? IKPictureTaker was one…
LDK
  • 2,555
  • 5
  • 27
  • 40
1
vote
1 answer

Imagekit EACCES - Access denied by AWS S3. Check attached IAM policy on AWS

After I set up Imagekit connecting to S3 bucket correctly with IAM policy having the s3:GetObject to the bucket, I got an error accessing the image through Imagekit url. The error message is EACCES - Access denied by AWS S3. Check attached IAM…
Jay Hu
  • 6,041
  • 3
  • 22
  • 33
1
vote
2 answers

Why static files are served locally and not from AWS s3 in my Django project?

I have Django application and I want to serve static and media files from AWS s3 bucket but after configuration only media files are served from s3 and static files are served locally. When I collect static all static files are collected in local…
ann.piv
  • 681
  • 1
  • 7
  • 17
1
vote
1 answer

How to enable dragging on specific items of an IKImageBrowserView?

I'm using an IKImageBrowserView for a mac application I'm currently developing and wants to enable dragging inside the IKImageBrowserView so I've used – setAllowsDroppingOnItems: but unfortunately this doesn't allow me to specify which items are…
must
  • 226
  • 2
  • 10
1
vote
1 answer

Add background to IKImageView

I want to add a checkerboard background to an IKImageView for viewing transparent images. I am trying to set CALayer with checkboard image to IKImageView with message setOverlay:forType CFURLRef imageURL =…
El Belga
  • 176
  • 1
  • 5
1
vote
1 answer

Send GraphQLUpload to imagekit.io from node server running express-graphql

Inexperienced dev here. This issue is driving me crazy. I am sending an image file from a react front end via a graphQL mutation to a node server running express-graphql. The uploadFile mutation works correctly, and I am able to save the file…
Will
  • 11
  • 1
1
vote
2 answers

Serializing a model to json with a nested class doesn't expose the nested class

Summary: The problem is that I cannot access the thumbnail image from a nested class in the serialized model and I don't know how to expose it in the JSON response. Description: I am trying to serialize my Thing model to JSON and it works, in a…
varl
  • 311
  • 1
  • 10
1
vote
1 answer

Django: How to update Photo model that uses Imagekit without re-uploading photo on save()

I have a Photo model that I want to update. When I try to save I get errors from my s3 bucket as well as validation errors about certain fields cannot be null. I think I understand why it is doing this, it assumes this is a totally new image…
django-d
  • 2,210
  • 3
  • 23
  • 41
1
vote
0 answers

IKImageView get image frame

I can change position of Image inside IKImageview and also I change image, when next button is clicked , but postion of Image is reseted.... I need to get information about old position of the Image , but haven't found any solution yet. Here is code…
Nininea
  • 2,671
  • 6
  • 31
  • 57
1
vote
2 answers

The best Python/Django architecture for image heavy web application

I am building a web application that allows users to upload images to their accounts - similar to flickr and 500px. I want to know the best setup for such an application. I'm using Python 3.4 and Django 1.9 I'm currently thinking about the…
olivrg
  • 5,523
  • 3
  • 15
  • 19