Home Forums Bug Reports Size limitations on media not removed when media overlay closed.


Size limitations on media not removed when media overlay closed.

    • Tomtids

    • November 8, 2019 at 11:00 pm

    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:

    1. Create or edit a post / page with the set up above.
    2. Add an image to the custom field with the min dimensions set up
    3. Click to add a Featured Image – you’ll find the minimum dimensions requirement from the custom field is still set on the media overlay, inspite of the restriction not applying to the Featured Image

    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.

    – 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.

    – 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.
    Thank you.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

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.