Please provide the following information and someone from @imgix/imgix-sdk-team will respond to your issue shortly.
Before you submit:
Question
Generate a URL from the path, but set it as a background image URL? This could be a parameter specifically determining src, srcset or background-image URL.
Alternatively, could a URL be easily generated directly in a component that can be fed into a variable for HTML consumption?
It is fairly common in UI design that an image will be dynamically set as a background image so that it can fit or cover the container's available space. Yes, there is the object fit property on an image, but this isn't too widely supported on older browsers.
Please provide the following information and someone from @imgix/imgix-sdk-team will respond to your issue shortly.
Before you submit:
Question
Generate a URL from the path, but set it as a background image URL? This could be a parameter specifically determining
src,srcsetorbackground-imageURL.Alternatively, could a URL be easily generated directly in a component that can be fed into a variable for HTML consumption?
It is fairly common in UI design that an image will be dynamically set as a background image so that it can fit or cover the container's available space. Yes, there is the
object fitproperty on an image, but this isn't too widely supported on older browsers.