The set up:
Create an image custom field where you specify minimum dimensions of the image on a post type that has the standard wordpress Featured Image enabled.
To create bug:
p.s. Thanks for this plugin… I couldn’t do my job as well without it!
I have the same problem.
When the second and subsequent posts, the featured image is affected by the size limit of the image field.
– WordPress 5.4.2
– Advanced Custom Fields PRO 5.9.0
– macOS Mojave 10.14.6
– MAMP PRO 5.7
I’ve seen it reproduce in Chrome and Safari as well.
– image field: Minimum width: 300px, height: 300px, Maximum width: 300px, height: 300px
– The featured image I want to register is a different size. This time 1200px * 800px.
– Added 2 images to Media Library: 300px * 300px, 1200px * 800px
The bug will not be reproduced the first time you register a post.
Steps to reproduce
1-1. Create 1st post
1-2. Add an image to custom field
1-3. Add a featured image
1-4. Click publish button
We won’t reproduce it here.
2-1. Create 2nd post
2-2. Add an image to custom field
2-3. Click to add a featured image, 1200px * 800px, you’ll find the message: “Restricted 1200_800.png
Image width must not exceed 300px.
Image height must not exceed 300px.”
3-1. Create 3rd post
3-2 Add a featured image
3-3 Click to add an image to custom field, you’ll find No size limit
I uploaded video to YouTube.
Please let me know the solution for this.
I also have the same problem with images in ACF blocks. Width & height restrictions from ACF image fields are being applied to the Core image block, if I add a core image block to the page after the ACF block.
I have tested this quite a bit:
I have been unable to solve this.
@matthewpoll101 Thanks for the report. We’ve got a fix ready to go for this issue on Featured Images which should be out in the next (or one after) release.
I’ll add some testing for the image block too to make sure the fix applies there as well.
Edit: Confirmed that this should resolve the issue for image blocks too.
You must be logged in to reply to this topic.
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!
The ACF site is currently experiencing some issues.— Advanced Custom Fields (@wp_acf) September 21, 2022
We apologize for the inconvenience and we are working hard to get it back up and running as soon as possible.
© 2022 Advanced Custom Fields.