Questions tagged [imgix]

26 questions
22
votes
6 answers

Efficiency of services like Cloudinary, Imgix

I want to build a website with a lot of images and hence image manipulations like amazon, ebay, flipkart,etc. I have been suggested to use services like Cloudinary, Imgix, etc to resize my images since it would be better to store one version of each…
deadcode
  • 742
  • 11
  • 27
3
votes
1 answer

Imgix Purge Post Request fails for unknown reason

I wanna purge an image from the imgix cache, they have a API for that (https://docs.imgix.com/setup/purging-images) I use axios to make the request from my nodejs backend: const imgixKey = functions.config().imgix.key; const headers = { …
niclas_4
  • 3,514
  • 1
  • 18
  • 49
2
votes
1 answer

How can I configure an external image loader in next.js properly?

I'm using next.js export to create a static html export which is hosted on google cloud storage. I use this workaround in my next.js configuration. images: { loader: 'imgix', path: 'https://noop/', }, How do I need to configure an external loader…
sonium
  • 918
  • 1
  • 11
  • 25
2
votes
2 answers

How to apply imgix-js on command?

$(document).ready(function () { var imgixOptions = { updateOnResizeDown : true, updateOnPinchZoom : true, fitImgTagToContainerWidth: true, fitImgTagToContainerHeight: true, autoInsertCSSBestPractices:…
sergserg
  • 21,716
  • 41
  • 129
  • 182
1
vote
2 answers

Nextjs imgix configuration issue with ?url params

I'm trying to setup the built-in imgix loader for nextjs 12+. When I look in the dom the srcsets are as follows: https://account.imgix.net/?url=%2Fhero.jpeg%26fm%3Dwebp&w=640&q=20 It appends this ?url= and the image isn't shown because of it. Not…
Daniel
  • 23
  • 4
1
vote
3 answers

Next.js and imgix image optimisation without knowing its size

I need to render images on my statically built Next.js website and I would like to do it according to today's best practices. I have seen that Next.js includes next/Image which takes care of most optimisation out of the box. Given I won't have…
linkyndy
  • 17,038
  • 20
  • 114
  • 194
1
vote
0 answers

How to store and serve static images using Django, Pythonanywhere, CDN and cloud storage

I'm quite new to web development, just a self-taught enthusiast, so be kind :) Right now I'm trying to deploy my website (built with Django) on Pythonanywhere. Following all advice on static files and it actually works. So basics are done. But…
1
vote
1 answer

Responsive image, srcset and sizes

I'm starting to use responsive image and I have a small doubt. I have an icon. This icon on my website has always two sizes: a small version, 74 pixel wide and a large versione, 94 pixel wide. Sezione Gino
Roberto Pezzali
  • 2,484
  • 2
  • 27
  • 56
1
vote
0 answers

Call a specific gem helper inside a model

I need to use the imgix-rails gem inside a project. I need to call an helper inside a model, this helper: require "imgix" require "imgix/rails/tag" require "imgix/rails/image_tag" require "imgix/rails/picture_tag" module Imgix module Rails …
Roberto Pezzali
  • 2,484
  • 2
  • 27
  • 56
1
vote
1 answer

Gatsby with imgix

I am currently preparing to migrate away from WordPress and I am seriously considering Gatsby. In WordPress land I use imgix to offload and process my images and I am interested to understand how to achieve this with Gatsby. I can't find any…
user47227
  • 165
  • 4
1
vote
1 answer

Efficiency of Cloudinary, Imgix

I want to build My blog with attracting images like Travellers and image manipulations like amazon, ebay, flipkart,etc. I have been suggested to use services like Cloudinary, Imgix, etc to resize/Edit my images since it would be better to store one…
Anumanth
  • 25
  • 4
1
vote
1 answer

ImgIX in Android - how to use dpr for scaling per density?

my company recently got imgIX but im not sure how to use the dpr . I mean its straight forward the actual implementation but how do i know which dpr value to use to match android density. docs say that dpr goes from 1 to 8. Android has ldpi,…
j2emanue
  • 60,549
  • 65
  • 286
  • 456
1
vote
3 answers

What is wrong with this AngularJS directive?

I am trying to write a imgix directive for AngularJS. Here is my code: MetronicApp .directive('imgix', function() { return { replace: true, scope: { url: '=' }, restrict: "A", template: "
Burak
  • 5,706
  • 20
  • 70
  • 110
0
votes
0 answers

Imgix with Wordpress not working for all images

I have setup Imgix to work with my wordpress site. I have created an Imgix account, and installed the Imgix wordpress plugin, and made the necessary config additions to the wp-config.php file. What these configs do is tell wordpress to serve images…
Glyph
  • 97
  • 2
  • 9
0
votes
1 answer

Overwrite WP srcset code - so we can use ImgIX

We are looking to add ImgIX to a WP site, we have the upload working, via an S3 bucket, but we can't insert the new srcset code in to the img attribute. There is a WP plugin that we have been using but it doesn't show how to overwrite WPs native…
1
2