Download the PHP package imgix-wordpress/images-via-imgix without Composer
On this page you can find all versions of the php package imgix-wordpress/images-via-imgix. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download imgix-wordpress/images-via-imgix
More information about imgix-wordpress/images-via-imgix
Files in imgix-wordpress/images-via-imgix
Package images-via-imgix
Short Description imgix WordPress plugin
License BSD-2-Clause
Homepage https://github.com/imgix-wordpress/images-via-imgix
Informations about the package images-via-imgix
Images via imgix
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.
- Features
- Getting Started
- History
- Testing
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.
Getting Started
-
If you don't already have an imgix account then sign up at imgix.com.
-
Create a Web Folder imgix source with the
Base URLset to your WordPress root URL (without thewp-contentpart). For example, if your WordPress instance is at http://example.com and an example image ishttp://example.com/wp-content/uploads/2017/01/image.jpgthen your source'sBase URLwould be justhttp://example.com/. -
Download the imgix WordPress plugin
imgix_plugin.zipand 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 theimgix_plugin.zipfile. Alternatively, you can extract the contents ofimgix_plugin.zipinto thewp-content/pluginsdirectory of your WordPress instance. -
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. - Go to a post on your WordPress blog and ensure your images are now serving through imgix.
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.
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.
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:
Then running the tests is as simple as:
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.
Start the database:
Then running the tests is as simple as:
