Comments (2)
Hi Adam,
I assume you're talking about imgix.fluid
? If you want to set a height AND width ensure you're using fit=crop
and you have both fitImgTagToContainerWidth
and fitImgTagToContainerHeight
set to true. Here's all the config options for imgix.fluid
and the relevant source for setting height and width on the query string.
I hope that helps. If you are able to make a contained example of a possible bug/edge-case with imgix.js please let us know. Thanks!
from imgix.js.
The fit to crop did the trick, thanks!
from imgix.js.
Related Issues (20)
- Auto-init functionality streamrolls attribute renaming
- Resize to fit fluid container HOT 6
- Change image src srcset dynamically HOT 1
- Override config settings on a per-image basis HOT 2
- imgix version HOT 2
- disabling imgix setters HOT 2
- Generated srcset only has round numbers HOT 4
- Take `sizes` input into account when generating `srcset` HOT 1
- imgix cannot properly trigger lazysizes due to processing order on <img> HOT 3
- Console errors caused by fractional DPRs as a result of browser zoom HOT 1
- Add default params configuration HOT 1
- Make reloading browser-cached images possible HOT 2
- Error in IE 10 and below due to `const` HOT 2
- img tag doesn't work with ix-path in Vue.js app HOT 12
- after changing ix-path, imgix.init() does not apply new srcsets HOT 2
- Responsive Background Image HOT 1
- React is not defined HOT 3
- Dependency Dashboard HOT 1
- Uncaught TypeError: Cannot set properties of undefined (setting 'srcAttribute') HOT 1
- feat: output `srcset` as a custom attribute
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imgix.js.