Sometimes, a user will attach an image to a comment, the image is successfully uploaded to the media library, database also shows the correct meta data, but the image is not displayed as a thumbnail with the comment.
I wonder if it is happening if the server times out or if the user leaves without waiting for the full process to complete. HTTPS is functioning correctly. Sucuri Security plugin is active, but this shouldn't be an issue since it is not happening every time. No warnings or errors, no AJAX issues.
Questions:
- When this occurs, what is the disconnect?
- When this occurs, what can be done in the database to connect the attached file from correct wp_postmeta entry to the corresponding comment?
- Is there still a thumbnail regeneration option with the paid version of the Media Uploader addon?
Version 7.0.8 installed, valid license connected, but cannot find a thumbnail regeneration tool that I've seen mentioned in other threads. Would regenerating the thumbnails somehow connect the thumb with the comment?
Thank you
When this occurs, what is the disconnect?
This may happen if the user is immediately click on the Post comment button without waiting until the attachment is being finished to attaching.
When this occurs, what can be done in the database to connect the attached file from correct wp_postmeta entry to the corresponding comment?
You should add connect the comment with the attachment in the wp_commentmeta table.
Is there still a thumbnail regeneration option with the paid version of the Media Uploader addon?
Sure there is a thumbnail regeneration in the wpDiscuz Media Uploader as well.
Hi, this still happens sometime when the user uploads an image and the image doesn't show up.
I cannot find the option for thumbnail regeneration in the wpDiscuz Media Uploader.
About the manual database option for connecting user comment images mentioned above, can you also please go more into detail about it? Is the meta key "wmu_attachments"? How to connect this with the comment?
Hi,
I cannot find the option for thumbnail regeneration in the wpDiscuz Media Uploader.
Please read this doc: https://wpdiscuz.com/docs/wpdiscuz-7/plugin-settings/comment-content-and-media/#single-image-sizes-in-comments
About the manual database option for connecting user comment images mentioned above, can you also please go more into detail about it? Is the meta key "wmu_attachments"? How to connect this with the comment?
It's stored as a serialized array. Below is provided an example:
array (
'images' =>
array (
0 => 152,
),
'videos' =>
array (
),
'files' =>
array (
),
)
The red marked value is the ID of the attached file. This is in the case if it's an image.