WordPress.org

Ready to get started?Download WordPress

Forums

Disable Aspect Ratio Crop on Custom Header Image (2 posts)

  1. Drew Baker
    Member
    Posted 3 years ago #

    Hey Guys,
    I have this set in my functions.php file:

    define( 'HEADER_IMAGE_WIDTH', apply_filters( 'basic_header_image_width', 500 ) );
    define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'basic_header_image_height', 150 ) );

    And when a user uploads a new image, they are forced to crop the image to maintain the 150x500 aspect ratio. What I think it should do is allow the user to crop the image, as long as it fits within a 500x150px box.

    Is this possible? If not, I'd rather turn off the cropping feature all together.

    Thanks,
    Drew

  2. Drew Baker
    Member
    Posted 3 years ago #

    Bump.

    Any suggestions? Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic