Analytics cookies
We use optional Google Analytics to understand which tools are useful and improve the site. Analytics stays off unless you accept. Privacy Policy
See how one image survives a wide hero, a card and a tall mobile layout. Choose the focal point on your original, compare five crops and copy the CSS that matches.
Your image is read locally. GetKineticHub does not upload or store it.
Up to 30 MB, 8192 px per side and 40 megapixels. Still images only. Your image stays on this device.
Click or drag on the original. On a keyboard, focus the image and use arrow keys (1%); hold Shift for 10%. Home returns to center. You can also use the sliders below.
Choose an image to begin.
Scaled simulations of these container sizes. All five use the same image and focal point.
The marker chooses an alignment point; edges still limit the crop. A focal point cannot keep every subject visible in every shape. Check each preview.
Add class="crop-image" to an image. The CSS sets its container shape and uses the exact position shown in the previews.
/* Choose an image to generate your crop CSS. */Load an image to enable output.
Once the crop works, prepare the source with Bulk Image Resizer or optimize its format in Web Image Converter.
class="crop-image" to your image and test it in your actual layout.This workflow suits hero photography, WordPress featured images, editorial cards and product listings. It helps you find a workable alignment before preparing final assets or changing a theme template. The previews are simulations at reduced display sizes; they are not downloadable image crops.
object-fit: cover scales an image uniformly until it fills the container. Any excess is clipped. object-position decides where that excess goes: a horizontal percentage aligns that percentage point of the image with the same percentage point of the container, and the vertical percentage does the same down the page.
At 50% 50%, the crop is centered. A larger horizontal percentage favors the right side; a smaller vertical percentage favors the top. The chosen point is an alignment anchor, so it does not always appear at the center of the crop. An axis with no excess has nothing to shift. See the CSS Images specification for the sizing model.
Try X 70%, Y 35% on an image with a subject on the right. Choose Wide desktop hero, then enable Mobile portrait. The output uses a 1440:540 shape by default and a 390:520 shape at viewport widths up to 600 px. The alignment stays the same in both:
.crop-image {
display: block;
width: 100%;
height: auto;
aspect-ratio: 1440 / 540;
object-fit: cover;
object-position: 70% 35%;
}
@media (max-width: 600px) {
.crop-image {
aspect-ratio: 390 / 520;
}
}
The sizes describe aspect ratios, not download dimensions. This CSS does not generate srcset, resize the source file or choose a smaller download. Use appropriately sized sources alongside the crop rule. A warning under a preview means that target size would upscale your image.
The WordPress Cover block provides a focal-point picker for supported background image configurations. Use these X and Y percentages as a starting point, then check the actual block height and its overlay in the editor and on the front end. Fixed or repeated background options can change which controls are available and how the image is rendered.
An Image block can offer size, aspect-ratio and scale controls, depending on the editor and theme. It does not expose the same focal controls in every context. If positioning is not available, add a custom class to the block or image and apply the rule to the actual img. A class on a figure wrapper needs a selector such as .my-image img.
Featured-image and query-loop card crops are controlled by their block or theme template. A crop already baked into a generated thumbnail cannot be recovered by object-position; choose a source with the needed content. Apply custom CSS in your theme or an available Additional CSS area, using the image selector and container shape your layout actually uses.
No. A wide hero and a narrow portrait can remove very different parts of an image. If no position works, use a different source or art-directed images for those layouts. Leave breathing room around the important subject when choosing photography.
No. This tool previews the crop your browser would show and exports CSS or the position values. Use Bulk Image Resizer for resizing, or Web Image Converter for format and quality changes.
The old image’s temporary browser URL is released. Nothing is saved to local storage, and the next image starts at the center. If a replacement fails validation, your previous valid image stays available.
A different container ratio, an existing height rule, padding, a pre-cropped WordPress thumbnail or a more specific CSS selector can change the result. Match the actual image box and inspect the computed object-fit and object-position values. Transparent areas reveal the page’s own background.