神刀安全网

Imgix Image Processing Now Available on Cosmic JS

Imgix Image Processing Now Available on Cosmic JS

Imgix is an image processing service that gives you some serious power when it comes to handling images for your websites and apps.  Their dynamic image processing API lets you crop, scale, rotate, watermark, add style and more to your images  by  simply adding a query string to the image url.

I’m happy to say that Imgix processing is now available for all your images uploaded to Cosmic JS!  Just look for the additional property ( imgix_url ) in your bucket’s API endpoints and you can begin using this powerful image processing service.

Here’s an example:

Let’s say you have a large image that looks great on desktop web:

https://cosmicjs.imgix.net/83bb7170-2162-11e6-b1c2-f159cf376757-cat2.jpg

And you need the same image in a different size to accommodate mobile devices with lower bandwidth.  With the power of Cosmic JS and Imgix all you need to do is add ?w=500 to the end of the imgix_url and you now have a 500 pixel wide image, perfect for mobile devices!

https://cosmicjs.imgix.net/83bb7170-2162-11e6-b1c2-f159cf376757-cat2.jpg?w=500

Imgix is normally a paid service, but we are giving it to you for free for all free and paid Cosmic JS plans.  

Log in or sign up  for Cosmic JS  to manage content for   your  websites and apps faster and easier, now with the dynamic power of Imgix!

转载本站任何文章请注明:转载至神刀安全网,谢谢神刀安全网 » Imgix Image Processing Now Available on Cosmic JS

分享到:更多 ()

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址