2017 © Pedro Peláez
 

wordpress-plugin images-via-imgix

imgix WordPress plugin

image

imgix-wordpress/images-via-imgix

imgix WordPress plugin

  • Tuesday, June 19, 2018
  • by imgix-wordpress
  • Repository
  • 6 Watchers
  • 31 Stars
  • 701 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 15 Forks
  • 4 Open issues
  • 8 Versions
  • 59 % Grown

The README.md

Images via imgix

Scrutinizer Code Quality Build Status, (*1)

A community powered WordPress plugin to automatically load all your existing (and future) WordPress images via the imgix service for smaller, faster, and better looking images., (*2)

, (*3)

Features

  • Your images behind a CDN.
  • Automatically smaller and faster images with the Auto Format option.
  • Automatically better looking images with the Auto Enhance option.
  • Use arbitrary imgix API params when editing <img> tags in "Text mode" and they will pass through.
  • No lock in! Disable the plugin and your images will be served as they were before installation.

, (*4)

Getting Started

  1. If you don't already have an imgix account then sign up at imgix.com., (*5)

  2. Create a Web Folder imgix source with the Base URL set to your WordPress root URL (__without__ the wp-content part). For example, if your WordPress instance is at http://example.com and an example image is http://example.com/wp-content/uploads/2017/01/image.jpg then your source's Base URL would be just http://example.com/., (*6)

  3. Download the imgix WordPress plugin imgix_plugin.zip and install on your WordPress instance. In the WordPress admin, click "Plugins" on the right and then "Add New". This will take you to a page to upload the imgix_plugin.zip file. Alternatively, you can extract the contents of imgix_plugin.zip into the wp-content/plugins directory of your WordPress instance., (*7)

  4. Return to the "Plugins" page and ensure the "imgix plugin" is activated. Once activated, click the "settings" link and populate the "imgix Host" field (e.g., http://yourcompany.imgix.net). This is the full host of the imgix source you created in step #1. Optionally, you can also turn on Auto Format or Auto Enhance. Finally, click "Save Options" when you're done., (*8)

  5. Go to a post on your WordPress blog and ensure your images are now serving through imgix., (*9)

, (*10)

History

Originally this plugin was hosted as part of the official imgix organisation. It was depreciated as they focused their efforts on the PHP library., (*11)

This plugin is maintained and managed by the community. Imgix have kindly permitted the use of their name here but it should be noted that there is no official support available for this plugin. If you've got any problems submit an issue on this repo., (*12)

, (*13)

Testing

This plugin uses phpunit to run its tests. You will need to set up a local test database to run these tests. You can do that using the bootstrap script:, (*14)

$ bin/install-wp-tests.sh imgix_wordpress_tests <YOUR MYSQL USERNAME> <YOUR MYSQL PASSWORD>

Then running the tests is as simple as:, (*15)

$ phpunit

, (*16)

Testing with Docker

This plugin uses phpunit to run its tests. You can use Docker if you don't want to set up the test database locally., (*17)

Start the database:, (*18)

$ docker-compose up -d mysql

Then running the tests is as simple as:, (*19)

$ docker-compose up phpunit

The Versions

19/06 2018

dev-master

9999999-dev https://github.com/imgix-wordpress/images-via-imgix

imgix WordPress plugin

  Sources   Download

BSD-2-Clause BSD-2.0

The Requires

  • php ^5.6 || ^7.0

 

The Development Requires

wordpress wordpress-plugin imgix

05/03 2018

1.0.1

1.0.1.0

  Sources   Download

05/03 2018

1.0.2

1.0.2.0

  Sources   Download

05/03 2018

1.0.3

1.0.3.0

  Sources   Download

05/03 2018

1.2.0

1.2.0.0

  Sources   Download

05/03 2018

1.0.0

1.0.0.0

  Sources   Download

11/04 2017

1.3.2

1.3.2.0 https://github.com/imgix-wordpress/images-via-imgix

imgix WordPress plugin

  Sources   Download

BSD-2-Clause

The Requires

  • php ^5.6 || ^7.0

 

The Development Requires

wordpress wordpress-plugin imgix

13/02 2017

1.3.0

1.3.0.0 https://github.com/imgix-wordpress/images-via-imgix

imgix WordPress plugin

  Sources   Download

BSD-2.0

The Requires

  • php ^5.5.9 || ^7.0

 

The Development Requires

wordpress wordpress-plugin imgix