Attachment resize: minimum dimensions
-
I wonder if there is a native way to satisfy minimum dimensions during thumbnail resize?
The following image_size is added:
'custom_dimension' => array( 200, 400, false );
When uploading an image by origin size 2000/1000 (width/height) both given dimensions should be satisfied. Width must be 200px and height 400px at least.
So new thumbnail should be scaled down to new size of 400/800px.
On the other hand an original image of 1000/2000 should result in 200/400px.Is there a native way to satisfy both – width AND height?
Which hook could be predestinate to implement desired intention?Thank you!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Attachment resize: minimum dimensions’ is closed to new replies.