reverse size of photo from get_photo
Brought to you by:
crayzeepete,
henrylegge
the next bug is located in the get_photo function. The size of the photo is reversed, to fix it, edit ipbsdk_class.inc.php
search for
$height = ($dimensions['0'] > 0) ? 'height="' . $dimensions['0'] . '" ' : '';
$width = ($dimensions['1'] > 0) ? 'width="' . $dimensions['1'] . '" ' : '';
replace with
$width = ($dimensions['0'] > 0) ? 'width="' . $dimensions['0'] . '" ' : '';
$height = ($dimensions['1'] > 0) ? 'height="' . $dimensions['1'] . '" ' : '';