fluidbox-ghost-blog-plugin
fluidbox-ghost-blog-plugin copied to clipboard
Plugin Breaks Bookmark Card's Thumbnail Images
The plugin is picking up on the thumbnail images associated with Ghost's bookmark cards and forcibly closing the thumbnail (thus rendering a blank image).
Solution:
I added a simple if statement to make sure that the image does not have a parent with the "kg-bookmark-thumbnail" class.
$(targetImages.join(',')).each(function (index, el) {
if(!$(this).parent().hasClass("kg-bookmark-thumbnail")){
$("<a href='" + $(this).attr('src') + "' class='zoom'></a>").insertAfter($(this));
$(this).appendTo($(this).next("a"));
}
});
I have tested this on my blog and everything is working fine now: https://engineerworkshop.com/2020/01/10/how-to-add-cifs-storage-to-proxmox/
Submitting pull request.
With Ghost 5 continues fail.
Look the image please: