WhatCD/Gazelle

Theme gallery images missing from user > settings

caseyrlentz opened this issue · 1 comments

Looks like the theme gallery images inside of the user account page are broken.

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);

/*

https://github.com/WhatCD/Gazelle/blob/master/sections/tools/development/rerender_gallery.php