Home › Forums › General Issues › Standard Crop doesn't work on ACF Images › Reply To: Standard Crop doesn't work on ACF Images
I have a client who was running into this issue — they crop images in WP using the standard editing tools, but the cropping would revert to the original version in the Image field preview after saving, and would not show up on the page itself.
I dumped the contents of the image array on the front end and confirmed that the $image['url']
value was the correct new image URL WordPress had generated, but the URLs in the $image['sizes']
subarray were for the old, uncropped version of the image.
I was able to work around the problem in this client’s case by just using $image['url']
for the image URL in the page template and in WP admin by setting the Image field’s preview to “Full Size”… but this is an incomplete solution as it doesn’t allow for displaying smaller versions of the image.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.