wpseek.com
				A WordPress-centric search engine for devs and theme authors
			wp_shrink_dimensions is deprecated since version 3.0.0!
Alternative: wp_constrain_dimensions()
Alternative: wp_constrain_dimensions()
wp_shrink_dimensions › WordPress Function
Since2.0.0
Deprecated3.0.0
› wp_shrink_dimensions ( $width, $height, $wmax = 128, $hmax = 96 )
| Parameters: (4) | 
 | 
| See: | |
| Returns: | 
 | 
| Defined at: | 
 | 
| Codex: | 
Calculates the new dimensions for a downsampled image.