_image_get_preview_ratio


_image_get_preview_ratio ( $w, $h )

Parameters:
  • (int) $w Image width in pixels.
  • (int) $h Image height in pixels.
Returns:
  • (float|int) Image preview ratio.
Defined at:

Description

Image preview ratio. Internal use only.

Related Functions

wp_image_matches_ratio, image_get_intermediate_size, _set_preview, wp_ajax_imgedit_preview, get_preview_post_link

Top Google Results

User discussions

wpseek mobile