Theme gallery images missing from user > settings
caseyrlentz opened this issue · 1 comments
caseyrlentz commented
Looks like the theme gallery images inside of the user account page are broken.
scriptzteam commented
You need to generate the previews firstly ;)
$CmdLine = '/usr/bin/phantomjs "' . dirname(FILE) . '/render_build_preview.js" "' . SERVER_ROOT . '" "' . STATIC_SERVER . '" "' . $Style['Name'] . '" "' . dirname(FILE) . '"';
$BuildResult = json_decode(shell_exec(escapeshellcmd($CmdLine)), true);
/*
- This page creates previews of all supported stylesheets
- SERVER_ROOT . '/' . STATIC_SERVER . 'stylespreview' must exist and be writable
- Dependencies are PhantomJS (http://phantomjs.org/) and
- ImageMagick (http://www.imagemagick.org/script/index.php)
*/
https://github.com/WhatCD/Gazelle/blob/master/sections/tools/development/rerender_gallery.php