Hey Guys, I'm building a WordPress theme that let's a user upload a custom image header using the built in WordPress functions.
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
I just change the crop numbers to what the Image pixels are. so
would be
and I have no issues with it as far as I've seen, so if you set it to like 2000 and 2000 they should be able to upload nearly anything