Skip to content
This repository was archived by the owner on Nov 21, 2023. It is now read-only.
This repository was archived by the owner on Nov 21, 2023. It is now read-only.

Gallery Plugin Error: Gallery wrapped in <code> and not generating thumbnail. #90

@knarxism

Description

@knarxism

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.

  • create a page and put $! gallery !$ on that page
  • I am unsure where to place the gallery directory (images folder)? The error that I get is :
/usr/bin/lua5.1: .../rocks-5.1/luapress/4.1.2-0/plugins/gallery/init.lua:77: Gallery: not a directory: gallery/gallery
stack traceback:
	[C]: in function 'error'
	.../rocks-5.1/luapress/4.1.2-0/plugins/gallery/init.lua:77: in function 'plugin'
	/usr/local/share/lua/5.1/luapress/util.lua:169: in function '_process_plugins'
	/usr/local/share/lua/5.1/luapress/util.lua:223: in function '_process_content'
	/usr/local/share/lua/5.1/luapress/util.lua:312: in function 'load_markdowns'
	/usr/local/share/lua/5.1/luapress.lua:216: in function 'build'
	...lib/luarocks/rocks-5.1/luapress/4.1.2-0/bin/luapress:210: in function 'build'
	...lib/luarocks/rocks-5.1/luapress/4.1.2-0/bin/luapress:237: in main chunk

I'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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions