Replies: 1 comment
-
|
The focal point never reaches your rendered image, so there's nothing for live preview to update. Focal point isn't applied on the frontend. It's an input to sharp, and sharp only reruns when the file is (re)processed, i.e. on save. So the cropped/resized files under The number is <img
src={doc.url} // original, not a pre-generated size
style={{
objectFit: 'cover',
objectPosition: `${doc.focalX ?? 50}% ${doc.focalY ?? 50}%`,
}}
/>Now dragging the focal point repositions instantly because |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I noticed that changing the focal point of an image doesn't update it in live preview, I have to reopen the live preview or refresh the page. Is there any way to force this?
Beta Was this translation helpful? Give feedback.
All reactions