Repository navigation
Releases
Releases · soderlind/tachyon-edge-images
Tachyon Edge Images 0.2.1
Added
- Opt-in
TACHYON_EDGE_IMAGES_KEEP_UNATTACHED_FILENAMESconstant andtachyon_edge_images_keep_unattached_filenamesfilter: a content image with no identified attachment keeps its-WxHfile name suffix, for originals named likephoto-900x600.jpg(humanmade/tachyon-plugin#43). - Opt-in
TACHYON_EDGE_IMAGES_PRESERVE_AT_SIGNconstant andtachyon_edge_images_preserve_at_signfilter:tachyon_url()keeps@in file names instead of encoding it as%40(humanmade/tachyon-plugin#23).
Fixed
image_downsizeno longer warns about undefinedwidth/heightkeys when attachment metadata lacks dimensions. It leaves the image to WordPress, as with missing metadata (Deviation 3).
Docs
- README and readme.txt rewritten in plainer language, with one section for the optional fixes.
Tachyon Edge Images 0.2.0
Internal
- The content,
image_downsizeand srcset paths read site data through Image Facts (ADR 0003), and have unit tests. No change in output. Content::filter()is split into private steps (image source, dimensions, content width, Tachyon arguments, tag rewrite), with tests for tag rewriting.gravity()moved toImages. No change in output.Restkeeps its stack of nested REST requests on an instance, so the test-onlyreset()is gone. A test checks thateditor.jssends the headerRestreads. No change in output.
No change in output. Comparison against tachyon-plugin 0.11.1: 53 of 53 cases match.