Thumbnail URL coming up blank
-
Hi David,
I’m having some trouble with MLA. I’m really at a loss with this issue, as I am using the exact same setup on another site and it is working fine.
Anyways, the issue is the following: inside of MLA’s
mla_galleryshortcode, I setmla_alt_ids_valueto"{+filelink_url+}|{+thumbnail_url+}|thumb|{+title+}"and then I use my own shortcode to split these values up and insert one alternate shortcode for each item in the gallery. The issue is that{+thumbnail_url+}is being replaced with the empty string. I’ve tried using the assistant to regenerate the thumbnails, but to no avail. I tried using Xdebug and stepping through the shortcode, and as far as I can tell, the WP thumbnails are indeed generated, but for whatever reason (one that I couldn’t determine), MLA can’t seem to find them. Although, it does correctly identify that they already exist when trying to regenerate them in the assistant. I also tried deleting and regenerating them for good measure, but still nothing.I suppose I should mention that all the items in the gallery are PDFs. Also, here’s the intermediate shortcode I made, https://github.com/nicegamer7/MLA-Shim. The example usage is very close to what I am doing, except my gallery only has PDFs in it.
Please let me know if you have any ideas. Thanks!
The page I need help with: [log in to see the link]
The topic ‘Thumbnail URL coming up blank’ is closed to new replies.