Image Detail Dialog Box Bug

When I open the image detail dialog box, the thumbnail shown is of a totally different image. If I try editing any forms (ie: alt text, caption) and saving, the original image will be replaced by the one shown in the thumbnail. This occurs for many of my images (but definitely not all). If I open and close, and open the dialog box again most of these will show the correct image, but for a select few reopening does not fix the problem.

Is anyone else having this issue?!

Haven’t seen this on any of our hosted Pressbooks networks. It sounds like a possible database issue to me – as though the book is somehow pointing to incorrect media elements. Can you share the contents of your diagnostics page here for others to see if they notice anything that might be surprising in there? You can get to it by clicking the ‘diagnostics’ link seen in the footer of your admin dashboard when logged in as a Pressbooks user:
Screenshot from 2020-06-09 16-01-41

Thanks for your reply.

Here’s my paste from the diagnostics:

System Information

Book Info

Book ID: 101
Book URL: http://pressbooks-dev.oer.hawaii.edu/humannutritiondev2019/
Book Privacy: Public

Browser

Platform: Windows
Browser Name: Firefox
Browser Version: 77.0
User Agent String: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:77.0) Gecko/20100101 Firefox/77.0

WordPress Configuration

Network URL: http://pressbooks-dev.oer.hawaii.edu/
Network Type: Subdirectory
Version: 5.4.1
Language: en_US
WP_ENV: Not set
WP_DEBUG: Disabled
Memory Limit: 64M

Pressbooks Configuration

Version: 5.8.3
Book Theme: McLuhan
Book Theme Version: 2.8.8
Root Theme: Aldine
Root Theme Version: 1.6.4

Pressbooks Dependencies

Epubcheck: Installed
Kindlegen: Installed
xmllint: Installed
PrinceXML: Installed
Saxon-HE: Installed

Must-Use Plugins

hm-autoloader.php: n/a

Network Active Plugins

Authorizer: 2.9.13
H5P: 1.15.0
Network Username Restrictions Override: 1.2
Pressbooks: 5.8.3
Pressbooks LTI Provider: 1.3.1
SSH SFTP Updater Support: 0.8.2
Textbooks for Pressbooks: 4.3.1
WP Power Stats: 2.2.3

Book Active Plugins

Authorizer: 2.9.13
H5P: 1.15.0
Network Username Restrictions Override: 1.2
Pressbooks: 5.8.3
Pressbooks LTI Provider: 1.3.1
SSH SFTP Updater Support: 0.8.2
Textbooks for Pressbooks: 4.3.1
WP Power Stats: 2.2.3

Inactive Plugins

Akismet Anti-Spam: 4.1.5
Candela Citation: 0.2.2
Classic Editor: 1.5
CM Tooltip Glossary: 3.7.1
CM Tooltip Glossary Pro: 3.7.8
Hawaiian Characters: 2.0.0
Hypothesis: 0.6.0
mPDF for Pressbooks: 3.3.1
Openstax Import for Pressbooks: 1.3.3
Simple Custom CSS: 4.0.3
TablePress: 1.11
WP QuickLaTeX: 3.8.6

Server Configuration

PHP Version: 7.2.10
MySQL Version: 8.0.17
Webserver Info: Apache/2.4.34 (Red Hat) OpenSSL/1.0.2k-fips PHP/7.2.10

PHP Configuration

Safe Mode: Disabled
Memory Limit: 1024M
Upload Max Size: 1024M
Post Max Size: 1024M
Upload Max Filesize: 1024M
Time Limit: 30
Max Input Vars: 1000
URL-aware fopen: On (1)
Display Errors: N/A

PHP Extensions

OPcache: Disabled
XDebug: Disabled
cURL: Supported
cURL Version: 7.29.0
imagick: Not Installed
xsl: Installed

Hi @telim I don’t see anything glaringly obvious from a quick glance. I believe you’re working on a self-hosted open source Pressbooks installation, so I’m about at the limits of what I can offer in terms of advice/assistance. Perhaps @wmeinke (Billy Meinke) or one of his colleagues at UH might be able to help further? This blog post (http://oer.hawaii.edu/uh-pressbooks-support-resources-now-available/) suggests you might be able to try oer@hawaii.edu. Good luck!

Thanks for your help! I’ll be in touch with Billy then.

Thanks @SteelWagstaff! A little concerning that you haven’t encountered this before, so we’ll look deeper on our end. Will be in touch @telim