[Resolved] Displaying preview images of uploaded PDF
This support ticket is created 6 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
The thumbnails display as expected when the page is initially displayed, but if a user filters the results, a broken link is displayed. Here is a link to the page in question (click on the "Carrier Documents" tab): hidden link
The thumbnails are displayed in the left column as expected. Now try displaying only documents from "AXA", for example, and apply the filter. The thumbnail links are now broken.
I'm using the code from the aforementioned thread exactly as provided. Can you point me in the right direction on how to resolve this? Thanks!
BTW, it would be great if Views offered previews of uploaded PDFs as a built-in option, now that WordPress supports them.
Hello. Thank you for contacting the Toolset support.
Well - Yes, I can able to reproduce the issue which you mentioned with the problem URL you shared.
I need to check whats going wrong there with your setup and why it's not loading the image with filter. Have you setup filter as AJAX filter?
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).
I have set the next reply to private which means only you and I have access to it.
Minesh has passed me this ticket as I originally write that code. I am trying to see what needs to be changed in it to make it work and I will get back to you shortly.