Open DavenLC opened 1 year ago
I think I got it. 'wcutils.img.class.php'
swapped the variables.
// Set offset for the picture cropping (depending on orientation) if ($h > $w) { $smallestdimension = $w; $widthoffset = ceil(($h - $w) / 2); $heightoffset = 0; } else { $smallestdimension = $h; $widthoffset = 0; $heightoffset = ceil(($w - $h) / 2); }
I think I got it. 'wcutils.img.class.php'
swapped the variables.
// Set offset for the picture cropping (depending on orientation) if ($h > $w) { $smallestdimension = $w; $widthoffset = ceil(($h - $w) / 2); $heightoffset = 0; } else { $smallestdimension = $h; $widthoffset = 0; $heightoffset = ceil(($w - $h) / 2); }
Did you take any screen shots of this as I haven't seen any problems with this while working with this script since I am working on making it a little more stable for my own version I am also looking at old known bugs so hit me up with what it looked like thanks.
I see a Thumbnail for a photo in the chat, it's turned sideways, but, when I open it, it is ok. Help?