Answers.Body: <p>Certainly seems doable to me. And the complexity would depend on how comfortable you are with PHP.</p>
  
  <p>But roughly you'd follow the same format as the <a href="https://github.com/fruitstudios/AviaryImageEditor" rel="nofollow">Aviary Image Editor</a> plugin for Craft where you have the user enter their imgix API key from their account and store that in the database. Then your plugin would be a wrapper for the <a href="https://docs.imgix.com/apis/url" rel="nofollow">imgix API</a> calling their web service methods whenever you need to interact with them.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-10T03:51:50.633Z
Answers.LastActivityDate: 2016-03-10T03:51:50.633Z
Answers.UserDisplayName: Brad Bell
Answers.Body: <p>I finally released a first version of the plugin: <a href="https://superbig.co/plugins/imgix" rel="nofollow noreferrer">https://superbig.co/plugins/imgix</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-04-03T19:47:29.933Z
Answers.LastActivityDate: 2017-04-03T19:47:29.933Z
Answers.UserDisplayName: Fred Carlsen
Body: <p>I have started using <a href="https://www.imgix.com/" rel="nofollow">imgix</a> on some non-Craft sites, and it’s bloody awesome. It’s a bit similar to Craft in the way you apply transforms to a master image, and those transforms are done on-demand and then cached for future use. Only with imgix the transforms are done in the cloud and stored on their global CDN. Now I was thinking if it might be possible to write a Craft plugin to use imgix instead of the internal image handling code.</p>
  
  <p>Any tips/pointers on how to go about this would be most appreciated!</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-12-13T13:03:28.107Z
Comments.Text: I have a plugin to work with Imgix. Contact me if you want to test.
Comments.UserDisplayName: Fred Carlsen
Tags: <plugin-development>
Title: Writing an Craft plugin for imgix?
ThreadText: # Writing an Craft plugin for imgix?
  
  (Asked by: username_0 on 2016-03-09)
  
  I have started using [imgix](https://www.imgix.com/) on some non-Craft sites, and it’s bloody awesome. It’s a bit similar to Craft in the way you apply transforms to a master image, and those transforms are done on-demand and then cached for future use. Only with imgix the transforms are done in the cloud and stored on their global CDN. Now I was thinking if it might be possible to write a Craft plugin to use imgix instead of the internal image handling code.
  
  Any tips/pointers on how to go about this would be most appreciated!
  
  **Tags:** plugin-development
  
  > **Comments:**
  > **username_1**: I have a plugin to work with Imgix. Contact me if you want to test.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2016-03-10. Score: 2
  
  Certainly seems doable to me. And the complexity would depend on how comfortable you are with PHP.
  
  But roughly you'd follow the same format as the [Aviary Image Editor](https://github.com/fruitstudios/AviaryImageEditor) plugin for Craft where you have the user enter their imgix API key from their account and store that in the database. Then your plugin would be a wrapper for the [imgix API](https://docs.imgix.com/apis/url) calling their web service methods whenever you need to interact with them.
  
  
  ---
  
  ### Answer by username_1 on 2017-04-03. Score: 2
  
  I finally released a first version of the plugin: <https://superbig.co/plugins/imgix>
  
  
  ---
  
  