Image Upload Handling: Automatic Resizing for Large Images
-
When uploading large images (e.g., those with dimensions exceeding 7500 pixels), the system doesn’t automatically crop them to the custom size of 2400 pixels using the following code:
<?php
add_image_size('custom_size_2400', 2400);Additionally, there are no restrictions on uploading images of any resolution. Currently, to achieve the desired size, you must manually crop the image to a smaller size before it will resize correctly.
To address this, there should be a setting that automatically converts the uploaded image to the maximum allowed size, after which it will resize according to the specified dimensions.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.