Klish Group is a consulting firm specializing in Web and Digital Content Management strategy, design and implementation
A React library that automatically serves optimally-sized images from Cloudinary.
Container-aware rendering means the image adapts to the size of its parent container rather than relying on screen breakpoints alone. This ensures images look sharp and load efficiently in all layout scenarios, including nested or dynamically sized components.
Loads only the appropriately sized image from Cloudinary, reduces bandwidth, speeds up page load time, and avoids layout shifts.
Smoothly integrates with modern responsive frameworks, providing consistent, optimized image rendering across breakpoints, components, and devices.
Seamlessly adjusts when containers resize—whether due to window resizing, collapsible components, or layout changes—ensuring visuals always fit perfectly.
Automatic detection of image size based on the container's actual width, instead of hardcoded dimensions or assumptions about screen size or layout.
To add this capability to your React applications follow these steps:
Sign up for a Cloudinary account and upload your assets.
Reach out to Klish Group to get your token and repository details so you can install the library.
Reach out to Klish Group for assistance creating the required image transformation in your account.
Add to your application's package.json file or install using the below command:
npm install @klish-group/react-responsive-images
Add the library and component reference to areas of your application that display images.
import { ResponsiveImageContainer } from '@klish-group/react-responsive-images';
<ResponsiveImageContainer
styleClasses={styleClasses}
src={imagePath}
altText={altText}
ignoreResponsiveTransformationformat={ignoreResponsiveTransformationformat} />