how do i resize based on landscape or portrait?

See all posts See thread Reply

Re: how do i resize based on landscape or portrait? new!
by sarmen, 12 years, 7 months ago
nm, i found out.
for whoever else is wondering.
if($handle->image_src_x > $handle->image_src_y) {.... } //this means landscape
if($handle->image_src_x < $handle->image_src_y)  {..... } //this means portrait
Reply