imgix / jekyll-imgix Goto Github PK
View Code? Open in Web Editor NEWA plugin for integrating imgix into Jekyll sites
Home Page: https://www.imgix.com
License: BSD 2-Clause "Simplified" License
A plugin for integrating imgix into Jekyll sites
Home Page: https://www.imgix.com
License: BSD 2-Clause "Simplified" License
See imgix/imgix-rb#26 for details
I am not able to get this plugin to work. Basically it doesn't change the src attribute of the img tag when you run JEKYLL_ENV=production jekyll build --watch.
I’m not sure if this is a documentation issue or a specific configuration that I have that works differently. I ran into a brief stumbling block when configuring the gems
in _config.yml
as the documentation suggested. I’m using bundle exec
in a conventional way.
When running $ JEKYLL_ENV=production bundle exec jekyll build
:
Case: error when config gems set to [jekyll/imgix]
or jekyll-imgix
Terminal says: jekyll 3.0.2 | Error: no implicit conversion of Array into String
Case: success when config gems set to imgix
(see my Jekyll gems config)
Successful build, imgix
urls work as expected.
Here is my full (working) config:
Overall I have imgix
running smoothly, but the documentation didn’t work exactly as expected. Is this because I have an array of gems in my config rather than just a single gem (defined with gems: gem_name
)? Why does this work as I have configured it and why does it fail otherwise?
Hello,
I'm trying to use the max-w option in a tag but I'm getting this error:
Liquid Exception: Liquid error (line 7): wrong number of arguments (given 3, expected 1..2) in /_layouts/page.html
The tag I'm using is
{{ item.image | imgix_url: q: 60, max-w: 500, lossless: 1, fm: 'jpg' }}
and if I use
{{ item.image | imgix_url: q: 60, w: 500, lossless: 1, fm: 'jpg' }}
everything is working fine.
What could be the cause of this issue?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.