Cropping Square Thumbnails Issue
-
I found an issue with the “Edit Thumbnail” functionality dealing with square thumbnails. The logic in admin/edit-thumbnail.php at line 44 doesn’t take into account a situation where the set thumbnail width and height are the same.
Changing line 44 to the following fixes the issue:
if ( ($ngg_options['thumbfix'] == 1) || $ngg_options['thumbwidth'] === $ngg_options['thumbheight'] ) {
Thanks
- The topic ‘Cropping Square Thumbnails Issue’ is closed to new replies.