Home › Forums › Bug Reports › Size limitations on media not removed when media overlay closed.
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 just tested and I cannot reproduce the behavior you describe.
I have the same problem.
When the second and subsequent posts, the featured image is affected by the size limit of the image field.
Environment
– WordPress 5.4.2
– Advanced Custom Fields PRO 5.9.0
– macOS Mojave 10.14.6
– MAMP PRO 5.7
– Firefox
I’ve seen it reproduce in Chrome and Safari as well.
Prerequisites
– 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
Point!
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.
Thank you.
Hi,
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.
If I:
I have tested this quite a bit:
I have been unable to solve this.
Environment:
@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.
The topic ‘Size limitations on media not removed when media overlay closed.’ is closed to new replies.
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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.