I ran some tests with other images. It seems the offending images were rotated with Apple Preview.app. Apparently, Preview does not actually rotate the image, but indicates in the EXIF data that it is rotated. Some apps will display it properly, some won’t. (Those that don’t read the EXIF data I presume) I tried opening one of them in GIMP and this is where I discovered this issue. GIMP informed me the EXIF data said it was rotated and I was prompted to actually rotate the image or leave it. I told GIMP to rotate the image, saved it again, and now Picu (and WordPress) import the image in proper portrait orientation.
I don’t mind that the images show up in the gallery as this allows me to correct any issues I didn’t catch before uploading. However, if you are curious as to which plugins might be responsible for this behavior, I’ve included my Debug Info.
Thank you for your assistance!
Setting Value
WordPress version 4.7.3
Active plugins contact-form-7, custom-related-products-for-woocommerce, disable-google-fonts, email-log, email-tracker, loginpress, mailchimp-for-wp, password-protected, picu, regenerate-thumbnails, simple-history, types, woocommerce-google-analytics-integration, woocommerce-pdf-invoices-packing-slips, woocommerce-xml-csv-product-import, woocommerce, wp-all-import, wp-donottrack, wp-fastest-cache, yikes-inc-easy-custom-woocommerce-product-tabs
picu version 1.0.0
PHP version 7.0.17
MySQL version 5.6.28-76.1-log
Server Apache
Operating System Linux
Safe Mode Off
Maximum execution time 120 seconds
Server Time 19:15
Blog Time 14:15
Blog language en-US
MySQL client encoding utf8mb4
Blog charset UTF-8
PHP memory limit 768M
Maximum upload file size 128 MB
WordPress memory limit 40M
WordPress maximum memory limit 768M
Memory in use 10.00 MB
ASP style PHP tags Off
Loaded PHP extensions Core, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, intl, ionCube Loader, json, ldap, libxml, mbstring, mcrypt, memcached, mysqli, mysqlnd, openssl, pcntl, pcre, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, posix, pspell, readline, session, shmop, soap, sockets, sqlite3, standard, sysvmsg, sysvsem, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib