Thumbnails not loading
-
Hi,
Thumbnails are not showing in the Media Library. Do you know why there are not showing?
I have the regenerate thumbnails plugin active, I thought that might have been the issue but when I deactivate it, thumbnails still not showing.
Any ideas?
-
Thanks for your report; I regret the trouble you’re having with the thumbnail display. I haven’t seen this before, and I’d like to know more about the problem so I can investigate further. Which MLA and WordPress versions are you using?
You wrote “not showing in the Media Library.” Can you say which of the Media Library displays are affected, i.e., 1) the Media/Assistant admin submenu (generated by MLA), 2) the Media/Library “list” view, 3) the Media/Library “Grid” view, and/or 4) the “Add Media…” popup window (post/page edit screen).
If the problem occurs in the Grid view or the popup window, can you try disabling MLA’s enhancements on those windows:
- Navigate to the Settings/Media Library Assistant General tab
- Scroll down to the “Media Manager/Media Grid Enhancements section
- Uncheck the “Enable Media Grid Enhancements” and “Enable Media Manager Enhancements” boxes
- Scroll to the bottom of the page and click “Save Changes” to record the new settings.
I agree that Regenerate Thumbnails should not affect the problem; I have used it on my system without trouble. However, you might also try disabling that plugin and uploading a new image to see if a thumbnail is displayed for items uploaded without it.
Any additional information you can provide will be helpful. Thanks for your help and your interest in the plugin.
Hi,
I am using WordPress Version 4.9.8 and MLA Version 2.75.
Media Library displays that are affected are the Media/Library “list” view and the Media/Library “Grid” view.
I have also disabled MLA’s enhancements and problem still occurs.
Same for Regenerate Thumbnails have disabled that and still problem occurs.
I have to regenerate the thumbnails every time to view the thumbnails.
Any other suggestions?
-
This reply was modified 6 years, 7 months ago by
kiranamity.
Thanks for your update and the additional information. I have just run more tests on my own system and everything is working properly.
You wrote that the Media/Library views are affected. Does this mean that the Media/Assistant admin submenu is working, i.e., shows thumbnails?
Have you tried disabling the MLA plugin entirely? Does that fix the problem?
You wrote “I have to regenerate the thumbnails every time to view the thumbnails.” What does “every time” mean? Are all of the thumbnails missing or just the thumbnails for newly-added items? Does “view the thumbnails” mean that they are visible after you regenerate the thumbnails?
You wrote “Regenerate Thumbnails have disabled that“. Does that mean you disabled Regenerate Thumbnails, added an item, and the thumbnail did not appear? If you then regenerate the thumbnails for that item, do they appear?
If the problem is limited to newly-added items it suggests a one-time problem when WordPress generates the intermediate sizes. Do you have any way of looking at the uploads directory to see if the files are there? If they are, it means that the problem is in the database, not the files themselves. When you go to the Regenerate Thumbnails screen for an item, does it show any intermediate size files present?
If you go to the Settings/Media admin submenu, does it show the right dimensions for the Thumbnail size? Is the “Crop thumbnail…” box checked?
Thanks for your patience and understanding, and your help with these additional questions.
Hi,
I hope this may help solve the problem, when I upload an image I get this error:
Fatal error: Uncaught Exception: Table ‘upstix.wp_pmxi_images’ doesn’t exist in /home/capselhomes/public_html/wp-content/plugins/wp-all-import/models/model/record.php:78 Stack trace: #0 /home/capselhomes/public_html/wp-content/plugins/wp-all-import/actions/add_attachment.php(22): PMXI_Model_Record->insert() #1 /home/capselhomes/public_html/wp-includes/class-wp-hook.php(286): pmxi_add_attachment(5284) #2 /home/capselhomes/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #3 /home/capselhomes/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #4 /home/capselhomes/public_html/wp-includes/post.php(3620): do_action(‘add_attachment’, 5284) #5 /home/capselhomes/public_html/wp-includes/post.php(5004): wp_insert_post(Array, true) #6 /home/capselhomes/public_html/wp-admin/includes/media.php(382): wp_insert_attachment(Array, ‘/home/capselhom…’, 0, true) #7 /home/capselhomes/public_html/wp-admin/async-upload.php(81): media_handle_upload(‘async-upload’, 0) #8 {main} thrown in /home/capselhomes/public_html/wp-content/plugins/wp-all-import/models/model/record.php on line 78
For info the site is:- https://capselhomes.com
Thanks for your update and for including the full text of the error you are getting; very helpful.
I was able to match
/plugins/wp-all-import/
to this Plugin:WP All Import: Import any XML or CSV File to WordPress
I installed and activated this plugin on my test system. I matched the
/plugins/wp-all-import/models/model/record.php:78
location back to the code and verified that this error is caused by a missing or damaged table in your site’s database.After activating the plugin I was able to upload a new image to my Media Library without errors, and each upload adds a row to the
wp_pmxi_images
database table. I then changed the table name to simulate the damage in your database. Uploading images after that threw the same error you reported above, and the images uploaded have no thumbnail, just as you first reported. Disabling the WP All Import plugin avoids the error and allows successful uploads.Your missing thumbnail problem is caused by a problem in the WP All Import plugin, not MLA. On my system, disabling and re-activating WP All Import added the missing table back to the database. I also tried deactivating, deleting, re-installing and activating the plugin. This also worked, but I don’t know if it would cause loss of data.
I am marking this topic resolved, since MLA is working properly and the problem is caused by a different plugin. You can try the fixes that worked for me or raise a topic in the support forum for WP All Import. If there’s anything else I can do, post an update here. I hope you find a quick and successful resolution for the problem.
Great, this was indeed the issue.
Thank you for your help and support.
- The topic ‘Thumbnails not loading’ is closed to new replies.