-
Notifications
You must be signed in to change notification settings - Fork 31
Gallery Plugin Error: Gallery wrapped in <code> and not generating thumbnail. #90
Comments
Hi, I solved the above issue but found additional issues that are unfortunately out of my wheelhouse for now. The fix for the above error was simply creating a subdirectory in the gallery folder. The "Gallery: not a directory: gallery/gallery" solution for me was:
This generated the gallery (well sort of):
|
Hey, I got this figured out - well at least to agree that I can use it! Thumbnail Issue: Problem with imagemagick was a faulty installation, apparently its an issue from installing with source. I missed a few libraries :/ I followed this guide: https://mindaslab.github.io/2018/11/22/install-latest-version-of-imagemagick-in-ubuntu-18-04.html
That fixed the thumbnail problem above. Code Wrap Issue: The In my /usr/local/lib/luarocks/rocks-5.1/luapress/4.1.2-0/plugins/gallery/init.lua, i changed the line at 167 from:
to
I have no idea exactly why that worked, and it does append tickmarks (```) at the beginning and at the end of the gallery.html. But that I can delete :) Not sure if there is a better solution, so I'll leave this open for now. |
Hi there, could somebody point me in the right direction? I am trying to use the default gallery plugin. What I've done so far.
$! gallery !$
on that pageI've tried placing the 'gallery' folder (with images) in several different locations, but the error above keeps occurring.
I noticed that the plugin uses lhtml, but my template is using mustache, would this cause of the error?
I have the latest version of imagemagick (Version: ImageMagick 7.0.10-3 Q16 x86_64 2020-04-01)
Thanks for any insights :)
The text was updated successfully, but these errors were encountered: